TransformSubmodule生成进行一次赋值

This commit is contained in:
SoulliesOfficial
2025-03-15 23:37:38 -04:00
parent b3caa0c11e
commit a48e7d59ac
16 changed files with 589 additions and 20 deletions

View File

@@ -75,6 +75,10 @@ namespace Ichni.RhythmGame
scaleDirtyMark = true;
eulerAnglesOffsetLock = false;
attachedGameElement.transform.localScale = currentScale;
attachedGameElement.transform.localEulerAngles = currentEulerAngles;
attachedGameElement.transform.localPosition = currentPosition;
(attachedGameElement as IHaveTransformSubmodule).transformSubmodule = this;
(attachedGameElement as IHaveTransformSubmodule).SetTransformObserver();