Example #1
0
 static int DestroySelf(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 0);
         PreLoadingScene.DestroySelf();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Example #2
0
    static int set_processAction(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene       obj  = (PreLoadingScene)o;
            System.Action <float> arg0 = (System.Action <float>)ToLua.CheckDelegate <System.Action <float> >(L, 2);
            obj.processAction = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index processAction on a nil value"));
        }
    }
Example #3
0
    static int set_backImage(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene      obj  = (PreLoadingScene)o;
            UnityEngine.UI.Image arg0 = (UnityEngine.UI.Image)ToLua.CheckObject <UnityEngine.UI.Image>(L, 2);
            obj.backImage = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index backImage on a nil value"));
        }
    }
Example #4
0
    static int set_loadingCanvas(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene        obj  = (PreLoadingScene)o;
            UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject));
            obj.loadingCanvas = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loadingCanvas on a nil value"));
        }
    }
Example #5
0
    static int get_processAction(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene       obj = (PreLoadingScene)o;
            System.Action <float> ret = obj.processAction;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index processAction on a nil value"));
        }
    }
Example #6
0
    static int get_backImage(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene      obj = (PreLoadingScene)o;
            UnityEngine.UI.Image ret = obj.backImage;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index backImage on a nil value"));
        }
    }
Example #7
0
    static int get_loadingCanvas(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            PreLoadingScene        obj = (PreLoadingScene)o;
            UnityEngine.GameObject ret = obj.loadingCanvas;
            ToLua.PushSealed(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index loadingCanvas on a nil value"));
        }
    }