Answers for "unity change rotation to direction of object"

C#
11

unity how to change rotation

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

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