add : scarecrow & bodies in water integrations
This commit is contained in:
@@ -33,6 +33,9 @@ namespace OctoCore
|
||||
SerializedProperty UiReferenceSizeProp;
|
||||
SerializedProperty UiIconsBackgroundProp;
|
||||
|
||||
SerializedProperty applicationProp;
|
||||
bool foldoutApplication;
|
||||
|
||||
bool foldoutSave;
|
||||
bool foldoutMapping;
|
||||
bool foldoutLanguages;
|
||||
@@ -66,6 +69,8 @@ namespace OctoCore
|
||||
UiProp = serializedObject.FindProperty("Ui");
|
||||
UiReferenceSizeProp = UiProp.FindPropertyRelative("ReferenceSize");
|
||||
UiIconsBackgroundProp = UiProp.FindPropertyRelative("IconsBackground");
|
||||
|
||||
applicationProp = serializedObject.FindProperty("Application");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
@@ -251,6 +256,27 @@ namespace OctoCore
|
||||
EditorGUILayout.EndVertical();
|
||||
EditorGUILayout.Space();
|
||||
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
// APPLICATION
|
||||
// ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
EditorGUILayout.BeginVertical("box");
|
||||
EditorGUI.indentLevel++;
|
||||
|
||||
foldoutApplication = EditorGUILayout.Foldout(foldoutApplication, "APPLICATION", true, foldout);
|
||||
|
||||
if (foldoutApplication)
|
||||
{
|
||||
EditorGUILayout.Space();
|
||||
EditorGUILayout.PropertyField(applicationProp.FindPropertyRelative("TargetFrameRate"));
|
||||
EditorGUILayout.PropertyField(applicationProp.FindPropertyRelative("VSyncCount"));
|
||||
EditorGUILayout.Space(4);
|
||||
}
|
||||
|
||||
EditorGUI.indentLevel--;
|
||||
EditorGUILayout.EndVertical();
|
||||
EditorGUILayout.Space();
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user