-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Fx; | ||
using HarmonyLib; | ||
using Monitor; | ||
using UnityEngine; | ||
|
||
namespace AquaMai.Fix; | ||
|
||
public class HanabiFix | ||
{ | ||
[HarmonyPatch(typeof(TapCEffect), "SetUpParticle")] | ||
[HarmonyPostfix] | ||
public static void FixMaxSize(TapCEffect __instance, FX_Mai2_Note_Color ____particleControler) | ||
{ | ||
var entities = ____particleControler.GetComponentsInChildren<ParticleSystemRenderer>(true); | ||
foreach (var entity in entities) | ||
{ | ||
entity.maxParticleSize = 1f; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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; | ||
} | ||
} | ||
} |