Move events to App class.
This commit is contained in:
@@ -9,13 +9,13 @@ namespace Utils.Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
Event("EarlyUpdate", EventManager.EarlyUpdateLength, EventManager.EarlyUpdateDelegates);
|
||||
Event("EarlyUpdate", App.EarlyUpdateLength, App.EarlyUpdateDelegates);
|
||||
EditorGUILayout.Space();
|
||||
Event("Update", EventManager.UpdateLength, EventManager.UpdateDelegates);
|
||||
Event("Update", App.UpdateLength, App.UpdateDelegates);
|
||||
EditorGUILayout.Space();
|
||||
Event("LateUpdate", EventManager.LateUpdateLength, EventManager.LateUpdateDelegates);
|
||||
Event("LateUpdate", App.LateUpdateLength, App.LateUpdateDelegates);
|
||||
EditorGUILayout.Space();
|
||||
Event("LastUpdate", EventManager.LastUpdateLength, EventManager.LastUpdateDelegates);
|
||||
Event("LastUpdate", App.LastUpdateLength, App.LastUpdateDelegates);
|
||||
}
|
||||
|
||||
private void Event(string title, int length, Delegate[] delegates)
|
||||
|
@@ -9,7 +9,7 @@ namespace Utils.Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
Event("FixedUpdate", PhysicsEventManager.FixedUpdateLength, PhysicsEventManager.FixedUpdateDelegates);
|
||||
Event("FixedUpdate", App.FixedUpdateLength, App.FixedUpdateDelegates);
|
||||
}
|
||||
|
||||
private void Event(string title, int length, Delegate[] delegates)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Agoxandr.Utils.Editor",
|
||||
"name": "Shazbot.Utils.Editor",
|
||||
"rootNamespace": "Utils",
|
||||
"references": [
|
||||
"GUID:80ed647da8ce73c45b66c239eba0365a"
|
Reference in New Issue
Block a user