private static void Postfix(NoteCutSoundEffectManager __instance) { NoodleCutSoundEffectManager noodleManager = __instance.gameObject.AddComponent <NoodleCutSoundEffectManager>(); noodleManager.Init(__instance); NoteCutSoundEffectManagerHandleNoteWasSpawned.NoodleManager = noodleManager; }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter private static void Postfix(NoteCutSoundEffectManager __instance) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { NoodleCutSoundEffectManager noodleManager = __instance.gameObject.AddComponent <NoodleCutSoundEffectManager>(); noodleManager.Init(__instance); NoteCutSoundEffectManagerHandleNoteWasSpawned.NoodleManager = noodleManager; }