Esempio n. 1
0
        private static void Postfix(ParticleSystemEventEffect __instance, BeatmapEventType ____colorEvent)
        {
            // If duplicated, clean up before duping
            ChromaParticleEventController oldController = __instance.GetComponent <ChromaParticleEventController>();

            if (oldController != null)
            {
                Object.Destroy(oldController);
            }

            __instance.StartCoroutine(WaitThenStart(__instance, ____colorEvent));
        }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter
        private static void Postfix(ParticleSystemEventEffect __instance, BeatmapEventType ____colorEvent)
#pragma warning restore SA1313
        {
            __instance.StartCoroutine(WaitThenStart(__instance, ____colorEvent));
        }
 private static void Postfix(ParticleSystemEventEffect __instance, BeatmapEventType ____colorEvent)
 {
     __instance.StartCoroutine(WaitThenStart(__instance, ____colorEvent));
 }