Exemple #1
0
        ////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Prefix
        /// </summary>
        /// <param name="__instance">NoteCutCoreEffectsSpawner instance</param>
        /// <param name="____noteCutParticlesEffect">NoteCutParticlesEffect instance</param>
        internal static void Postfix(ref NoteCutCoreEffectsSpawner __instance, ref NoteCutParticlesEffect ____noteCutParticlesEffect)
        {
            /// Cache effect instance
            m_NoteCutParticlesEffect = ____noteCutParticlesEffect;

            if (Config.GameTweaker.Enabled)
            {
                /// Apply
                SetRemoveCutParticles(Config.GameTweaker.RemoveAllCutParticles);
            }
        }
 private static void Postfix(NoteCutCoreEffectsSpawner __instance)
 {
     NoteCutCoreEffectsSpawner = __instance;
 }
Exemple #3
0
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter
        private static void Postfix(NoteCutCoreEffectsSpawner __instance)
#pragma warning restore SA1313 // Parameter names should begin with lower-case letter
        {
            NoteCutCoreEffectsSpawner = __instance;
        }