From 6ce8b9e22fc13be34b442c7b6af48b42cd44275a Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Wed, 13 Mar 2024 11:00:58 +0800 Subject: +init --- StartRotation.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 StartRotation.cs (limited to 'StartRotation.cs') diff --git a/StartRotation.cs b/StartRotation.cs new file mode 100644 index 0000000..4ae91b2 --- /dev/null +++ b/StartRotation.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +public class StartRotation : MonoBehaviour +{ + public Quaternion startRotation; + + public Quaternion startRotationLocal; + + private void Start() + { + startRotation = base.transform.rotation; + startRotationLocal = base.transform.localRotation; + } + + private void Update() + { + } +} -- cgit v1.1-26-g67d0