using UnityEngine; public class Rotation_demo : MonoBehaviour { Vector3 rot=new Vector3(10,10,10); void Start() { transform.Rotate(rot); } }