예제 #1
0
 static public int get_LuaModule(IntPtr l)
 {
     try {
         LuaBehaviourScript self = (LuaBehaviourScript)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.LuaModule);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static public int GetLuaBehaviourScript_s(IntPtr l)
 {
     try {
         UnityEngine.GameObject a1;
         checkType(l, 1, out a1);
         var ret = LuaBehaviourScript.GetLuaBehaviourScript(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }