public Alignment(GameObject agent, BehaviourSystem behaviourSystem, float weight) : base(agent, BehaviourType.Alignment, weight) { owner = behaviourSystem; }
public Cohesion(GameObject agent, BehaviourSystem behaviourSystem, float weight) : base(agent, BehaviourType.Cohesion, weight) { owner = behaviourSystem; }
public Separation(GameObject agent, BehaviourSystem behaviourSystem, float weight) : base(agent, BehaviourType.Separation, weight) { owner = behaviourSystem; }
public Alignment(GameObject agent, BehaviourSystem behaviourSystem, float weight) : base(agent, BehaviourType.Alignment, weight) { owner = behaviourSystem; }
private void Awake() { actionIcon = GetComponent <Image>(); behaviourSystem = GetComponentInParent <BehaviourSystem>(); }