Exemplo n.º 1
0
    private void FadeInDetails()
    {
        UITweener tween = textFade1.GetComponent <UITweener>();

        //remove load
        tween.RemoveOnFinished(new EventDelegate(LoadDetails));
        //remover fade in
        tween.RemoveOnFinished(new EventDelegate(FadeInDetails));
        //fade in
        PlayTween(textFade1, true);
    }
Exemplo n.º 2
0
 //界面关闭
 protected override void OnClose()
 {
     mText3.RemoveOnFinished(OnText3Finished);
     mText2.RemoveOnFinished(OnText2Finished);
     mText1.RemoveOnFinished(OnText1Finished);
     mFight.RemoveOnFinished(OnFightFinished);
 }
Exemplo n.º 3
0
    static int RemoveOnFinished(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UITweener     obj  = LuaScriptMgr.GetNetObject <UITweener>(L, 1);
        EventDelegate arg0 = LuaScriptMgr.GetNetObject <EventDelegate>(L, 2);

        obj.RemoveOnFinished(arg0);
        return(0);
    }
Exemplo n.º 4
0
    static int RemoveOnFinished(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UITweener     obj  = (UITweener)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UITweener");
        EventDelegate arg0 = (EventDelegate)LuaScriptMgr.GetNetObject(L, 2, typeof(EventDelegate));

        obj.RemoveOnFinished(arg0);
        return(0);
    }
Exemplo n.º 5
0
    private static int RemoveOnFinished(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UITweener     uITweener = (UITweener)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UITweener");
        EventDelegate del       = (EventDelegate)LuaScriptMgr.GetNetObject(L, 2, typeof(EventDelegate));

        uITweener.RemoveOnFinished(del);
        return(0);
    }
Exemplo n.º 6
0
 static public int RemoveOnFinished(IntPtr l)
 {
     try {
         UITweener     self = (UITweener)checkSelf(l);
         EventDelegate a1;
         checkType(l, 2, out a1);
         self.RemoveOnFinished(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 7
0
 static int RemoveOnFinished(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITweener     obj  = (UITweener)ToLua.CheckObject(L, 1, typeof(UITweener));
         EventDelegate arg0 = (EventDelegate)ToLua.CheckObject(L, 2, typeof(EventDelegate));
         obj.RemoveOnFinished(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 8
0
    private static int RemoveOnFinished(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 2);
            UITweener     uITweener = (UITweener)ToLua.CheckObject(L, 1, typeof(UITweener));
            EventDelegate del       = (EventDelegate)ToLua.CheckObject(L, 2, typeof(EventDelegate));
            uITweener.RemoveOnFinished(del);
            result = 0;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }
Exemplo n.º 9
0
    public static int RemoveOnFinished(IntPtr l)
    {
        int result;

        try
        {
            UITweener     uITweener = (UITweener)LuaObject.checkSelf(l);
            EventDelegate del;
            LuaObject.checkType <EventDelegate>(l, 2, out del);
            uITweener.RemoveOnFinished(del);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 10
0
        static int _m_RemoveOnFinished(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            UITweener __cl_gen_to_be_invoked = (UITweener)translator.FastGetCSObj(L, 1);


            try {
                {
                    EventDelegate del = (EventDelegate)translator.GetObject(L, 2, typeof(EventDelegate));

                    __cl_gen_to_be_invoked.RemoveOnFinished(del);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }