Linux migration.

This commit is contained in:
2022-05-20 22:58:25 +02:00
parent 029e02fd2f
commit 14bbae67e5
16 changed files with 698 additions and 698 deletions

View File

@ -1,38 +1,38 @@
using UnityEditor;
using UnityEngine;
namespace Utils
{
[CustomEditor(typeof(EventManager), true)]
public class EventManagerEditor : Editor
{
public override void OnInspectorGUI()
{
var eventManager = (EventManager)target;
GUILayout.BeginHorizontal();
GUILayout.Label("Update");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.UpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
GUILayout.Label("FixedUpdate");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.FixedUpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
GUILayout.Label("LateUpdate");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.LateUpdateLength.ToString());
}
GUILayout.EndHorizontal();
}
}
}
using UnityEditor;
using UnityEngine;
namespace Utils
{
[CustomEditor(typeof(EventManager), true)]
public class EventManagerEditor : Editor
{
public override void OnInspectorGUI()
{
var eventManager = (EventManager)target;
GUILayout.BeginHorizontal();
GUILayout.Label("Update");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.UpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
GUILayout.Label("FixedUpdate");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.FixedUpdateLength.ToString());
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal();
GUILayout.Label("LateUpdate");
if (Application.isPlaying)
{
GUILayout.FlexibleSpace();
GUILayout.Label(EventManager.LateUpdateLength.ToString());
}
GUILayout.EndHorizontal();
}
}
}