Пример #1
0
        private void OnEffectExpire(float resetData)
        {
            _instances.Dequeue();

            Debug.Log($"[{nameof(TimedInventorySlot)}] {nameof(OnEffectExpire)} Effect {_powerupType} in expired");

            OnEffectEnd?.Invoke(_powerupType, resetData);
        }
Пример #2
0
 /// <summary>
 /// Invoke the OnEffectEnd event
 /// </summary>
 protected void InvokeEffectEnd()
 {
     OnEffectEnd?.Invoke(this);
 }