Scripting Animation iTween.RotateTo
Rotate To All Example With RotateTo that you can perform using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateTo : MonoBehaviour { public float time; public GameObject objectToRotate; public iTween.EaseType easetype; public Vector3 angle; public float delay; public float x,y,z; public float speed; public void RotateExample1() { // just simple rotate to perticular angle iTween.RotateTo(objectToRotate, iTween.Hash("rotation", angle)); } public void RotateExample2() { // just simple rotate to perticular angle over time iTween.RotateTo(objectToRotate,iTween.Hash("rotation",angle,"time",time)); } public void RotateExample3() ...
Comments
Post a Comment