goTo() 공개 추상적인 메소드

goes to the specified time clamping it from 0 to the total duration of the tween. if the tween is not playing it can optionally be force updated to the time specified. delays are not taken into effect. (must be implemented by inherited classes.)
public abstract goTo ( float time ) : void
time float
리턴 void
예제 #1
0
 static public int goTo(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             AbstractGoTween self = (AbstractGoTween)checkSelf(l);
             System.Single   a1;
             checkType(l, 2, out a1);
             self.goTo(a1);
             return(0);
         }
         else if (argc == 3)
         {
             AbstractGoTween self = (AbstractGoTween)checkSelf(l);
             System.Single   a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             self.goTo(a1, a2);
             return(0);
         }
         return(error(l, "No matched override function to call"));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }