public ICombatUnit RemoveStateDecorator(CombatUnitStateDecoratorBase stateDecorator) { StateDecorators.Remove(stateDecorator); Debug.Log("<color=red>" + stateDecorator.GetType() + " removed from " + gameObject.name + "</color>"); return(this); }
public ICombatUnit AddStateDecorator(CombatUnitStateDecoratorBase stateDecorator) { StateDecorators.Add(stateDecorator); Debug.Log("<color=green>" + stateDecorator.GetType() + " added to " + gameObject.name + "</color>"); return(this); }