Esempio n. 1
0
 public override void OnInspectorGUI()
 {
     litSerObj.Update();
     litSerObj.SerializeProperties(
         "audioName",
         "animationType",
         "scaleFactor",
         "clickInterval",
         "tweenDuration"
         );
     litSerObj.Apply();
 }
Esempio n. 2
0
 public override void OnInspectorGUI()
 {
     litSerObj.Update();
     litSerObj.SerializeProperties(
         "script_path"
         );
     if (!File.Exists(FileTools.EventHandleLuaPath + handler.script_path.Replace('.', '/') + ".lua"))
     {
         GUILayout.Space(20);
         DrawCreateBtn();
     }
     litSerObj.Apply();
 }