GetTransitionAt() public method

Returns a transition object at a certain index.
public GetTransitionAt ( int index ) : Transition
index int Index
return Transition
Esempio n. 1
0
 static public int GetTransitionAt(IntPtr l)
 {
     try {
         FairyGUI.GComponent self = (FairyGUI.GComponent)checkSelf(l);
         System.Int32        a1;
         checkType(l, 2, out a1);
         var ret = self.GetTransitionAt(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int GetTransitionAt(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent));
         int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         FairyGUI.Transition o = obj.GetTransitionAt(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }