HeavenStudio/Assets/Scripts/Transform/ForceRotationIdentity.cs
2021-12-18 23:10:43 -05:00

9 lines
151 B
C#

using UnityEngine;
public class ForceRotationIdentity : MonoBehaviour
{
private void Update ()
{
transform.rotation = Quaternion.identity;
}
}