Exemplo n.º 1
0
 static public int get_target(IntPtr l)
 {
     try {
         LHUDView self = (LHUDView)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.target);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static public int set_offset(IntPtr l)
 {
     try {
         LHUDView            self = (LHUDView)checkSelf(l);
         UnityEngine.Vector3 v;
         checkType(l, 2, out v);
         self.offset = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }