void SetProperties() { EditorGUILayout.Space(); EditorGUILayout.PropertyField(freezeOnPause); EditorGUILayout.PropertyField(enableCameraSwitching); if (enableCameraSwitching.boolValue) { cameraSwitch.CameraSwitcherContainerField(axisNames); } }
void DisplayCameraSwitchingProperties() { EditorGUILayout.Space(); EditorExtensions.LabelFieldCustom("Camera Switching Settings", FontStyle.Bold); EditorGUILayout.PropertyField(enableCameraSwitching); if (enableCameraSwitching.boolValue) { cameraSwitch.CameraSwitcherContainerField(axisNames); } }