Exemplo n.º 1
0
    static int SetColliderType(IntPtr L)
    {
        try
        {
            ToLua.CheckArgsCount(L, 3);
            UnityEngine.Tilemaps.Tilemap obj  = (UnityEngine.Tilemaps.Tilemap)ToLua.CheckObject(L, 1, typeof(UnityEngine.Tilemaps.Tilemap));
            UnityEngine.Vector3Int       arg0 = StackTraits <UnityEngine.Vector3Int> .Check(L, 2);

            UnityEngine.Tilemaps.Tile.ColliderType arg1 = (UnityEngine.Tilemaps.Tile.ColliderType)ToLua.CheckObject(L, 3, typeof(UnityEngine.Tilemaps.Tile.ColliderType));
            obj.SetColliderType(arg0, arg1);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }