GetReference() public method

public GetReference ( ) : int
return int
示例#1
0
 public static void Push(IntPtr L, LuaBaseRef lbr)
 {
     if (lbr == null)
     {
         LuaDLL.lua_pushnil(L);
     }
     else
     {
         LuaDLL.lua_getref(L, lbr.GetReference());
     }
 }
示例#2
0
 public void Push(LuaBaseRef lbr)
 {
     if (lbr == null)
     {
         LuaPushNil();
     }
     else
     {
         LuaGetRef(lbr.GetReference());
     }
 }