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