Beispiel #1
0
 static public int set__removeComplete(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         effect.EffectObject.LoadComplete v;
         int op = LuaDelegation.checkDelegate(l, 2, out v);
         if (op == 0)
         {
             self._removeComplete = v;
         }
         else if (op == 1)
         {
             self._removeComplete += v;
         }
         else if (op == 2)
         {
             self._removeComplete -= v;
         }
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int get_EffectGameObj(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.EffectGameObj);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #3
0
 static public int stop(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         self.stop();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 static public int get_param_transform(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.param_transform);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #5
0
 static public int isAutoDestroy(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         var ret = self.isAutoDestroy();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #6
0
 static public int set_Offset(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         int v;
         checkType(l, 2, out v);
         self.Offset = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #7
0
 static public int set_GameobjectActive(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.GameobjectActive = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #8
0
 static public int set_TransformName(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         string v;
         checkType(l, 2, out v);
         self.TransformName = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #9
0
 static public int SetSpeed(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         System.Single       a1;
         checkType(l, 2, out a1);
         self.SetSpeed(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #10
0
 static public int set_param_vector3(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         UnityEngine.Vector3 v;
         checkType(l, 2, out v);
         self.param_vector3 = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #11
0
 static public int set_param_int(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         System.Int32        v;
         checkType(l, 2, out v);
         self.param_int = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #12
0
 static public int setLayer(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         System.Int32        a1;
         checkType(l, 2, out a1);
         self.setLayer(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #13
0
 static public int setLocalScale(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         UnityEngine.Vector3 a1;
         checkType(l, 2, out a1);
         self.setLocalScale(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #14
0
 static public int disablePlayOnAwake(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         System.Boolean      a1;
         checkType(l, 2, out a1);
         self.disablePlayOnAwake(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #15
0
 static public int set_AutoDestroyDelay(IntPtr l)
 {
     try {
         effect.EffectObject self = (effect.EffectObject)checkSelf(l);
         float v;
         checkType(l, 2, out v);
         self.AutoDestroyDelay = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #16
0
 static public int setTarget(IntPtr l)
 {
     try {
         effect.EffectObject   self = (effect.EffectObject)checkSelf(l);
         UnityEngine.Transform a1;
         checkType(l, 2, out a1);
         self.setTarget(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #17
0
 static public int setEffectBehaviourType(IntPtr l)
 {
     try {
         effect.EffectObject     self = (effect.EffectObject)checkSelf(l);
         effect.EEffectBehaviour a1;
         checkEnum(l, 2, out a1);
         self.setEffectBehaviourType(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #18
0
 static public int constructor(IntPtr l)
 {
     try {
         effect.EffectObject o;
         System.String       a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         effect.EEffectBehaviour a3;
         checkEnum(l, 4, out a3);
         o = new effect.EffectObject(a1, a2, a3);
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #19
0
 // 初始化
 public virtual void Start()
 {
     _obj   = null;
     _fTime = 0;
     //_targetTf = null;
 }