暂存:动画曲线

还没搞完,复制粘贴也没有
This commit is contained in:
2025-03-01 16:18:19 +08:00
parent 191be59c3d
commit ded6f14d06
15 changed files with 1228 additions and 117 deletions

View File

@@ -41,7 +41,7 @@ public class TimelineTab : MonoBehaviour
else
{
SubTab i = Instantiate(ElementPrefab, MoveArea.transform);
i.timelineTab = this;
i.father = this;
i.Set(gameElement, Judgetime);
SubTabs.Add(Judgetime, i);
}
@@ -51,11 +51,5 @@ public class TimelineTab : MonoBehaviour
{
timeline = EditorManager.instance.uiManager.timeline;
}
public void Update()
{
MoveArea.position = new Vector3(
-(timeline.songTime / timeline.timePerBeat) * timeline.timePointerModule.timePointerInterval,
MoveArea.position.y,
MoveArea.position.z);
}
}