Exemplo n.º 1
0
        protected override void drawContent(EntitasPreferencesConfig config)
        {
            EditorGUILayout.BeginHorizontal();
            {
                drawVisualDebugging();
                if (GUILayout.Button("Show Stats", EditorStyles.miniButton))
                {
                    EntitasStats.ShowStats();
                }
            }
            EditorGUILayout.EndHorizontal();


            EditorGUILayout.Space();

            drawDefaultInstanceCreator();
            drawTypeDrawerFolder();
        }
Exemplo n.º 2
0
        protected override void drawContent(EntitasPreferencesConfig config)
        {
            EditorGUILayout.BeginHorizontal();
            {
                drawVisualDebugging();
                if (GUILayout.Button("Show Stats", EditorStyles.miniButton))
                {
                    EntitasStats.ShowStats();
                }
            }
            EditorGUILayout.EndHorizontal();

            EditorGUILayout.Space();

            _visualDebuggingConfig.systemWarningThreshold = EditorGUILayout.IntField("System Warning Threshold", int.Parse(_visualDebuggingConfig.systemWarningThreshold)).ToString();

            EditorGUILayout.Space();

            drawDefaultInstanceCreator();
            drawTypeDrawerFolder();
        }