コード例 #1
0
 public override void OnInspectorGUI()
 {
     EditorGUILayout.LabelField("Please edit this object type using the FOVE Settings window.");
     if (GUILayout.Button("FOVE Settings"))
     {
         FoveSettingsWindow.EditSettings();
     }
 }
コード例 #2
0
        public static void EditSettings()
        {
            FoveSettingsWindow window = GetWindow <FoveSettingsWindow>();

            GUIContent title = new GUIContent("FOVE Settings");

            window.titleContent = title;

            window.Show();
        }