示例#1
0
 static public int loadLuaScript(IntPtr l)
 {
     try {
         sluaAux.luaMonoBehaviour self = (sluaAux.luaMonoBehaviour)checkSelf(l);
         self.loadLuaScript();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#2
0
 static public int get_bindScript(IntPtr l)
 {
     try {
         sluaAux.luaMonoBehaviour self = (sluaAux.luaMonoBehaviour)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.bindScript);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#3
0
 static public int set_bindScript(IntPtr l)
 {
     try {
         sluaAux.luaMonoBehaviour self = (sluaAux.luaMonoBehaviour)checkSelf(l);
         System.String            v;
         checkType(l, 2, out v);
         self.bindScript = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }