private bool IsSpecificTriggerAvailable(StatusEffectController sec) { if (_inUseTriggers.Contains(sec) || _hasBeenUsedTriggers.Contains(sec)) { return(false); } return(true); }
/// <summary> /// Initialize method setting HP, AI, adding skills and other component /// </summary> public virtual void Awake() { body = GetComponent<Rigidbody2D>(); body.freezeRotation = true; groundCheck = transform.Find("groundCheck"); statusController = new StatusEffectController(this); }