Example #1
0
 static public int Update(IntPtr l)
 {
     try {
         ITickPlugin self = (ITickPlugin)checkSelf(l);
         self.Update();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #2
0
 static public int Init(IntPtr l)
 {
     try {
         ITickPlugin            self = (ITickPlugin)checkSelf(l);
         UnityEngine.GameObject a1;
         checkType(l, 2, out a1);
         UnityEngine.MonoBehaviour a2;
         checkType(l, 3, out a2);
         self.Init(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 static public int Call(IntPtr l)
 {
     try {
         ITickPlugin   self = (ITickPlugin)checkSelf(l);
         System.String a1;
         checkType(l, 2, out a1);
         System.Object[] a2;
         checkParams(l, 3, out a2);
         self.Call(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }