@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user