基础内容-5
主题包; 测试NoteVisual与NoteEffect; LookAt旋转动画与FlexibleBool 动画杂项 控制台初步
This commit is contained in:
@@ -41,6 +41,11 @@ namespace Ichni.RhythmGame
|
||||
return displacement;
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
targetTransformSubmodule = targetObject.transformSubmodule;
|
||||
}
|
||||
|
||||
protected override void UpdateAnimation(float songTime)
|
||||
{
|
||||
positionX.UpdateFlexibleFloat(songTime);
|
||||
@@ -56,6 +61,10 @@ namespace Ichni.RhythmGame
|
||||
targetTransformSubmodule.positionOffset.Add(currentPosition);
|
||||
targetTransformSubmodule.positionDirtyMark = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
animationReturnType = FlexibleReturnType.MiddleInterval;
|
||||
}
|
||||
|
||||
//本体使用,用于判断动画是否结束
|
||||
// else if (positionX.returnType is FlexibleReturnType.After or FlexibleReturnType.None &&
|
||||
|
||||
Reference in New Issue
Block a user