void Start() { if ( Path != null ) { tween = Path.GetComponent<PointPath> ().Animate ( gameObject, Duration, Ease, LoopInfinitely, IsRelative ); if ( StartTime != 0 ) tween.goTo ( StartTime ); } }
static public int goTo(IntPtr l) { try { GoTween self = (GoTween)checkSelf(l); System.Single a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); self.goTo(a1, a2); return(0); } catch (Exception e) { return(error(l, e)); } }