FiE-Game/Assets/Scripts/Fie/Utility/FieUtilRotationLocker.cs

13 lines
207 B
C#

using UnityEngine;
namespace Fie.Utility
{
[ExecuteInEditMode]
public class FieUtilRotationLocker : MonoBehaviour
{
private void Update()
{
base.transform.rotation = Quaternion.identity;
}
}
}