mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +00:00
9 lines
151 B
C#
9 lines
151 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
public class ForceRotationIdentity : MonoBehaviour
|
|||
|
{
|
|||
|
private void Update ()
|
|||
|
{
|
|||
|
transform.rotation = Quaternion.identity;
|
|||
|
}
|
|||
|
}
|