Answers for "how to change the rotate of a 2d object in unity"

C#
1

rotation unity script 2d

transform.Rotate(Vector3(0, 0, 50));
//instead of :
transform.eulerAngles = new Vector3 (0, 0, 50);
//or like you said
transform.eulerAngles = Vector3.forward * 50;
Posted by: Guest on June-26-2020

Code answers related to "how to change the rotate of a 2d object in unity"

C# Answers by Framework

Browse Popular Code Answers by Language