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

14 lines
207 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
namespace Fie.Utility
{
[ExecuteInEditMode]
public class FieUtilRotationLocker : MonoBehaviour
{
private void Update()
{
base.transform.rotation = Quaternion.identity;
}
}
}