static int OnCompleteEnterAnim(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UIWindowBase obj = (UIWindowBase)ToLua.CheckObject(L, 1, typeof(UIWindowBase));
         obj.OnCompleteEnterAnim();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 2
0
    //进入动画播放完毕回调
    public void EndEnterAnim(UIWindowBase l_UIbase, UICallBack callBack, params object[] objs)
    {
        UISystemEvent.Dispatch(l_UIbase, UIEvent.OnCompleteEnterAnim);
        l_UIbase.OnCompleteEnterAnim();

        try
        {
            if (callBack != null)
            {
                callBack(l_UIbase, objs);
            }
        }
        catch (Exception e)
        {
            Debug.LogError(e.ToString());
        }
    }