using UnityEngine; public class rotation_demo : MonoBehaviour { Quaternion rot; void Start() { rot.eulerAngles=new Vector3(45,0,90); } }