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

Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2025-10-03 18:21:40 +08:00
parent b9c23e3af8
commit ba1824d5d6
25 changed files with 197808 additions and 181369 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++)