HoldVisualMesh 以及快捷键更新
This commit is contained in:
@@ -24,13 +24,27 @@ namespace Ichni.RhythmGame.ThemeBundles.Basic
|
||||
{
|
||||
noteVisual.noteMain.SetActive(true);
|
||||
noteMainRenderer.material.SetColor("_BaseColor", Color.white);
|
||||
|
||||
if (noteVisual is BasicHoldVisualMesh holdVisualMesh)
|
||||
{
|
||||
holdVisualMesh.notePartList[1].SetActive(true);
|
||||
holdVisualMesh.notePartList[2].SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
public override void Adjust()
|
||||
{
|
||||
noteVisual.noteMain.SetActive(true);
|
||||
noteMainRenderer.material.SetColor("_BaseColor", Color.white / 2f);
|
||||
noteMainRenderer.material.DOColor(Color.clear, effectTime).SetEase(Ease.OutQuad);
|
||||
noteMainRenderer.material.DOColor(Color.clear, effectTime).SetEase(Ease.OutQuad).OnComplete(() =>
|
||||
{
|
||||
noteVisual.noteMain.SetActive(false);
|
||||
|
||||
if (noteVisual is BasicHoldVisualMesh holdVisualMesh)
|
||||
{
|
||||
holdVisualMesh.notePartList[1].SetActive(false);
|
||||
holdVisualMesh.notePartList[2].SetActive(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public override EffectBase_BM ConvertToBM()
|
||||
|
||||
Reference in New Issue
Block a user