Answers for "unity how to set a rotation via script"

C#
7

unity how to change rotation

transform.eulerAngles = new Vector3(0f, 180f, 0f); //rotates 180 degrees
Posted by: Guest on February-24-2020
1

how to chagne rotation in unity

transform.eulerAngles = new Vector3(0f, 180f, 0f); // rotates 180 degrees
Posted by: Guest on February-24-2020

C# Answers by Framework

Browse Popular Code Answers by Language