Beispiel #1
0
 void LevelRotation()
 {
     if (this.transform.rotation.x > 0.5f)
     {
         planeScript.MovePlane("up");
     }
     if (this.transform.rotation.z > 0.5f)
     {
         planeScript.MovePlane("r_left");
     }
 }