Example #1
0
		public override void OnInspectorGUI () {
			EditorGUI.BeginChangeCheck ();
			var label = new GUIContent ("Animation Import Style", 
				"By default, animations are nested into the generated prefab. Change this option to instead place animations into a separate folder.");
			importStyle = (AnimationImportOption)EditorGUILayout.EnumPopup (label, importStyle);
			if (EditorGUI.EndChangeCheck ()) S2USettings.ImportStyle = importStyle;
		}
Example #2
0
        public override void OnInspectorGUI()
        {
            EditorGUI.BeginChangeCheck();
            var label = new GUIContent("Animation Import Style",
                                       "By default, animations are nested into the generated prefab. Change this option to instead place animations into a separate folder.");

            importStyle = (AnimationImportOption)EditorGUILayout.EnumPopup(label, importStyle);
            if (EditorGUI.EndChangeCheck())
            {
                S2USettings.ImportStyle = importStyle;
            }
        }
Example #3
0
 private void OnEnable()
 {
     importStyle = S2USettings.ImportStyle;
 }
Example #4
0
		private void OnEnable () {
			importStyle = S2USettings.ImportStyle;
		}