update
This commit is contained in:
@@ -38,7 +38,15 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
|
||||
foreach (var renderer in noteRenderers)
|
||||
{
|
||||
renderer.material.SetFloat("_MainAlpha", 1f);
|
||||
renderer.materials.For(m => m.SetFloat("_MainAlpha", 1f));
|
||||
}
|
||||
}
|
||||
|
||||
public override void PreExecute()
|
||||
{
|
||||
if (noteVisual is DTMNoteVisualHold)
|
||||
{
|
||||
noteRenderers[0].materials[1].SetFloat("_GlowIntensity", 0.25f);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +57,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
|
||||
foreach (var renderer in noteRenderers)
|
||||
{
|
||||
renderer.material.SetFloat("_MainAlpha", alpha);
|
||||
renderer.materials.For(m => m.SetFloat("_MainAlpha", alpha));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +66,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
noteVisual.noteMain.SetActive(false);
|
||||
foreach (var renderer in noteRenderers)
|
||||
{
|
||||
renderer.material.SetFloat("_MainAlpha", 0f);
|
||||
renderer.materials.For(m => m.SetFloat("_MainAlpha", 1f));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user