mirror of https://github.com/hykilpikonna/AquaDX
21 lines
508 B
C#
21 lines
508 B
C#
using Fx;
|
|
using HarmonyLib;
|
|
using Monitor;
|
|
using UnityEngine;
|
|
|
|
namespace AquaMai.UX;
|
|
|
|
public class HideHanabi
|
|
{
|
|
[HarmonyPatch(typeof(TapCEffect), "SetUpParticle")]
|
|
[HarmonyPostfix]
|
|
public static void FixZeroSize(TapCEffect __instance, FX_Mai2_Note_Color ____particleControler)
|
|
{
|
|
var entities = ____particleControler.GetComponentsInChildren<ParticleSystemRenderer>(true);
|
|
foreach (var entity in entities)
|
|
{
|
|
entity.maxParticleSize = 0f;
|
|
}
|
|
}
|
|
}
|