Inheritance: UnityEngine.MonoBehaviour
Example #1
0
 static public int get_target(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.UIEventLuaTrigger self = (Hugula.UGUIExtend.UIEventLuaTrigger)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.target);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #2
0
 static public int OnLuaTrigger(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.UIEventLuaTrigger self = (Hugula.UGUIExtend.UIEventLuaTrigger)checkSelf(l);
         self.OnLuaTrigger();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 static public int set_target(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.UIEventLuaTrigger self = (Hugula.UGUIExtend.UIEventLuaTrigger)checkSelf(l);
         System.Collections.Generic.List <UnityEngine.MonoBehaviour> v;
         checkType(l, 2, out v);
         self.target = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #4
0
 static public int set_trigger(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.UIEventLuaTrigger self = (Hugula.UGUIExtend.UIEventLuaTrigger)checkSelf(l);
         UnityEngine.MonoBehaviour           v;
         checkType(l, 2, out v);
         self.trigger = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #5
0
 static public int set_luaFn(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.UIEventLuaTrigger self = (Hugula.UGUIExtend.UIEventLuaTrigger)checkSelf(l);
         SLua.LuaFunction v;
         checkType(l, 2, out v);
         self.luaFn = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }