public void Release() { behavior = null; injector = null; if (null != model) { model.Release(); model = null; } }
private void OnLoaded() { behavior = model.GetComponent <DlgBehavior>(); injector = model.GetComponent <LuaInjector>(); }