mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 23:37:59 +01:00
14 lines
207 B
C#
14 lines
207 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace Fie.Utility
|
||
|
{
|
||
|
[ExecuteInEditMode]
|
||
|
public class FieUtilRotationLocker : MonoBehaviour
|
||
|
{
|
||
|
private void Update()
|
||
|
{
|
||
|
base.transform.rotation = Quaternion.identity;
|
||
|
}
|
||
|
}
|
||
|
}
|