mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-23 06:17:58 +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;
|
||
|
}
|
||
|
}
|
||
|
}
|