public static void SAddListener(UnityAction <float, float> handler) { Slistener = handler; if (Sinvoker != null) { Sinvoker.AddFSpeedEffectListener(Slistener); } }
//For SPEED EFFECT public static void SAddInvoker(PickupBlock script) { Sinvoker = script; if (Slistener != null) { Sinvoker.AddFSpeedEffectListener(Slistener); } }