Exemplo n.º 1
0
    static int get_layersScaleRatios(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LobbyCamera           obj = (LobbyCamera)o;
            UnityEngine.Vector2[] ret = obj.layersScaleRatios;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index layersScaleRatios on a nil value"));
        }
    }
Exemplo n.º 2
0
    static int set_layersScaleRatios(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LobbyCamera           obj  = (LobbyCamera)o;
            UnityEngine.Vector2[] arg0 = ToLua.CheckStructArray <UnityEngine.Vector2>(L, 2);
            obj.layersScaleRatios = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index layersScaleRatios on a nil value"));
        }
    }
Exemplo n.º 3
0
    static int get_trail(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LobbyCamera           obj = (LobbyCamera)o;
            UnityEngine.Transform ret = obj.trail;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index trail on a nil value"));
        }
    }
Exemplo n.º 4
0
    static int set_trail(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LobbyCamera           obj  = (LobbyCamera)o;
            UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 2);
            obj.trail = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index trail on a nil value"));
        }
    }