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)
|
||||
|
Reference in New Issue
Block a user