perf
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Ichni.RhythmGame
|
||||
judgeHintImage = Object.Instantiate(GetHintImagePrefab(),
|
||||
GameManager.instance.judgeHintCanvas.transform).GetComponent<RectTransform>();
|
||||
}
|
||||
else if (judgeHintImage != null)
|
||||
else if (judgeHintImage is not null)
|
||||
{
|
||||
Object.Destroy(judgeHintImage.gameObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user