调整谱面开放
This commit is contained in:
@@ -119,8 +119,10 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public void UpdateColor(bool refreshAll = true)
|
||||
{
|
||||
if(colorSubmodule == null) return;
|
||||
|
||||
bool willRefresh = false;
|
||||
|
||||
|
||||
if (colorSubmodule.baseColorDirtyMark)
|
||||
{
|
||||
//在动画物体中改变currentColor
|
||||
|
||||
@@ -131,6 +131,8 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public void UpdateTransform(bool refreshAll = true)
|
||||
{
|
||||
if(transformSubmodule == null) return;
|
||||
|
||||
GameElement attachedGameElement = transformSubmodule.attachedGameElement;
|
||||
bool willRefresh = false;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Ichni.RhythmGame
|
||||
#region [轮询更新] Main Update
|
||||
private void Update()
|
||||
{
|
||||
if (!GameManager.Instance.songPlayer.isUpdating)
|
||||
if (!GameManager.Instance.songPlayer.isUpdating || effectSubmodule == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user