void AddBehavior(ActorBehavior behavior, bool enabled = true) { behavior.Awake(this); behavior.Enable(enabled); behaviours.Add(behavior); countBehaviors++; }
void AddBehavior(ActorBehavior behavior, bool enabled = true) { behavior.Awake(this); behavior.Enable(enabled); }