Esempio n. 1
0
 public void Update()
 {
     state.SetRotation(rotation);
     gameObject.transform.rotation = state.rotation;
     usedRotation = state.rotation.eulerAngles;
 }