static int OnCompleteExitAnim(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIWindowBase obj = (UIWindowBase)ToLua.CheckObject(L, 1, typeof(UIWindowBase)); obj.OnCompleteExitAnim(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
//退出动画播放完毕回调 public void EndExitAnim(UIWindowBase l_UIbase, UICallBack callBack, params object[] objs) { UISystemEvent.Dispatch(l_UIbase, UIEvent.OnCompleteExitAnim); l_UIbase.OnCompleteExitAnim(); try { if (callBack != null) { callBack(l_UIbase, objs); } } catch (Exception e) { Debug.LogError(e.ToString()); } }