public static LuaFunction getTableFunction(LuaTable luaTable, string name) { object obj2 = luaTable.rawget(name); if (obj2 is LuaFunction) { return (LuaFunction) obj2; } return null; }
public static LuaFunction getTableFunction(LuaTable luaTable, string name) { object obj = luaTable.rawget(name); if (obj is LuaFunction) { return((LuaFunction)obj); } return(null); }
/* * Gets the function called name from the provided table, * returning null if it does not exist */ public static LuaFunction getTableFunction(LuaTable luaTable, string name) { object funcObj = luaTable.rawget(name); if (funcObj is LuaFunction) { return((LuaFunction)funcObj); } else { return(null); } }
/* * Gets the function called name from the provided table, * returning null if it does not exist */ public static LuaFunction getTableFunction(LuaTable luaTable, string name) { object funcObj = luaTable.rawget(name); if (funcObj is LuaFunction) return (LuaFunction)funcObj; else return null; }