Exemplo n.º 1
0
 public override void OnInspectorGUI()
 {
     litSerObj.Update();
     litSerObj.SerializeProperties(
         "audioName",
         "animationType",
         "scaleFactor",
         "clickInterval",
         "tweenDuration"
         );
     litSerObj.Apply();
 }
Exemplo 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();
 }