HeavenStudioPlus/Assets/Scripts/Transform/ForceRotationIdentity.cs

9 lines
151 B
C#

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