private void OnEffectExpire(float resetData) { _instances.Dequeue(); Debug.Log($"[{nameof(TimedInventorySlot)}] {nameof(OnEffectExpire)} Effect {_powerupType} in expired"); OnEffectEnd?.Invoke(_powerupType, resetData); }
/// <summary> /// Invoke the OnEffectEnd event /// </summary> protected void InvokeEffectEnd() { OnEffectEnd?.Invoke(this); }