コード例 #1
0
        private static void Postfix(NoteCutSoundEffectManager __instance)
        {
            NoodleCutSoundEffectManager noodleManager = __instance.gameObject.AddComponent <NoodleCutSoundEffectManager>();

            noodleManager.Init(__instance);
            NoteCutSoundEffectManagerHandleNoteWasSpawned.NoodleManager = noodleManager;
        }
コード例 #2
0
#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;
        }