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