Revert "我不理解,这check那check就是出不来"

This reverts commit ba1824d5d6.
This commit is contained in:
SoulliesOfficial
2025-10-03 06:30:22 -04:00
parent ba1824d5d6
commit 2e3b2bd908
25 changed files with 181377 additions and 197816 deletions

View File

@@ -12,7 +12,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
{
public List<List<Material>> normalMaterialList;
public List<List<Material>> highlightMaterialList;
public new static DTMNoteVisual GenerateElement(string elementName, Guid id, List<string> tags,
bool isFirstGenerated, string themeBundleName, string objectName, GameElement parentElement, bool isHighlighted)
{
@@ -59,7 +59,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
rend.material.SetFloat("_MainAlpha", 1f);
}
}
foreach (EffectBase effect in effectSubmodule.effectCollection["Generate"])
{
effect.Recover();
@@ -78,14 +78,14 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
public override void SetHighlight()
{
//List<Renderer> partRendererList = notePartList.Select(part => part.GetComponent<Renderer>()).ToList();
//partRendererList.ForEach(rend => Destroy(rend.material));
if (note is Tap or Hold)
{
extraPartList[0].gameObject.SetActive(isHighlighted);
}
/*if (!isHighlighted)
{
for (int i = 0; i < partRendererList.Count; i++)