Exemple #1
0
    static int Float(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        object arg0 = LuaScriptMgr.GetVarObject(L, 1);
        float  o    = UtilCommon.Float(arg0);

        LuaScriptMgr.Push(L, o);
        return(1);
    }