public static uTweenRotation Begin(GameObject go, Vector3 from, Vector3 to, float duration = 1f, float delay = 0f) { uTweenRotation comp = uTweener.Begin <uTweenRotation>(go, duration); comp.from = from; comp.to = to; comp.duration = duration; comp.delay = delay; if (duration <= 0) { comp.Sample(1, true); comp.enabled = false; } return(comp); }
// Token: 0x06002AC5 RID: 10949 RVA: 0x0046FCC4 File Offset: 0x0046DEC4 public static uTweenRotation Begin(GameObject go, Vector3 from, Vector3 to, float duration = 1f, float delay = 0f) { uTweenRotation uTweenRotation = uTweener.Begin <uTweenRotation>(go, duration); uTweenRotation.from = from; uTweenRotation.to = to; uTweenRotation.duration = duration; uTweenRotation.delay = delay; if (duration <= 0f) { uTweenRotation.Sample(1f, true); uTweenRotation.enabled = false; } return(uTweenRotation); }