This commit is contained in:
Alexander Filippov
2022-03-02 01:12:44 +01:00
parent 963d166bff
commit 029e02fd2f
8 changed files with 18 additions and 35 deletions

View File

@ -8,13 +8,13 @@ namespace Utils
{
public override void OnInspectorGUI()
{
EventManager eventManager = (EventManager)target;
var eventManager = (EventManager)target;
GUILayout.BeginHorizontal();
GUILayout.Label("Update");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(eventManager.UpdateLength.ToString());
GUILayout.Label(EventManager.UpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
@ -22,7 +22,7 @@ namespace Utils
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(eventManager.FixedUpdateLength.ToString());
GUILayout.Label(EventManager.FixedUpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
@ -30,7 +30,7 @@ namespace Utils
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(eventManager.LateUpdateLength.ToString());
GUILayout.Label(EventManager.LateUpdateLength.ToString());
}
GUILayout.EndHorizontal();
}