Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CameraRailMovement : MonoBehaviour
- {
- public double LookAHead;
- public double LookTime;
- public float Speed;
- void Start()
- {
- iTween.MoveTo(gameObject,
- iTween.Hash(
- "path", iTweenPath.GetPath("MainCameraWaypoints"),
- "easetype", iTween.EaseType.linear,
- "time", Speed,
- "orientToPath", true,
- "lookahead", LookAHead,
- "looktime", LookTime)
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement