コード例 #1
0
 public void OnDestroy()
 {
     Debug.Log("OnDestroy");
     if (null != luaEditor)
     {
         luaEditor.Destroy();
         luaEditor = null;
     }
 }
コード例 #2
0
 public void OnEnable()
 {
     if (null != luaEditor)
     {
         luaEditor.Destroy();
         luaEditor = null;
     }
     Setup();
 }
コード例 #3
0
 public void Setup()
 {
     luaEditor = new ZTSkillLuaEditor();
     LoadSkillConfig();
 }