This commit is contained in:
dldydtn9755-crypto
2026-07-28 21:21:29 +09:00
parent 23bc3ef3f3
commit d970835039
19 changed files with 1342 additions and 588 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c69e37265e7e163459b3894cea6d0c59
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
using UnityEngine;
public class ResetChildLocalRotation : MonoBehaviour
{
[SerializeField] private Transform target;
private Quaternion initialLocalRotation;
private void Awake()
{
if (target != null)
initialLocalRotation = target.localRotation;
}
public void ResetRotation()
{
if (target == null)
return;
target.localRotation = initialLocalRotation;
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 8f701eb628e084b4f87b750c2716f6f5