HeavenStudioPlus/Assets/Scripts/Transform/ForceRotationIdentity.cs

9 lines
151 B
C#
Raw Normal View History

2021-12-19 04:10:43 +00:00
using UnityEngine;
public class ForceRotationIdentity : MonoBehaviour
{
private void Update ()
{
transform.rotation = Quaternion.identity;
}
}