Cleanup anchor related code.

This commit is contained in:
2023-01-01 19:01:34 +08:00
parent e8f74399f2
commit 4d7773a2ac
3 changed files with 21 additions and 35 deletions

View File

@@ -90,15 +90,7 @@ namespace Cryville.Crtr {
Position = GetFramePoint(s.Parent, s.Track);
Rotation = GetFrameRotation(s.Parent, s.Track);
}
if (s.CloneType == 0) {
#if UNITY_5_6_OR_NEWER
a_cur.SetPositionAndRotation(Position, Rotation);
#else
a_cur.position = Position;
a_cur.rotation = Rotation;
#endif
}
else if (s.CloneType == 2) {
if (s.CloneType == 2) {
if (!gogroup) return;
Chart.Note tev = Event;
if (tev.IsLong) {