示例#1
0
 public void Release()
 {
     behavior = null;
     injector = null;
     if (null != model)
     {
         model.Release();
         model = null;
     }
 }
示例#2
0
 private void OnLoaded()
 {
     behavior = model.GetComponent <DlgBehavior>();
     injector = model.GetComponent <LuaInjector>();
 }