Example #1
0
 public Alignment(GameObject agent, BehaviourSystem behaviourSystem, float weight)
     : base(agent, BehaviourType.Alignment, weight)
 {
     owner = behaviourSystem;
 }
Example #2
0
 public Cohesion(GameObject agent, BehaviourSystem behaviourSystem, float weight)
     : base(agent, BehaviourType.Cohesion, weight)
 {
     owner = behaviourSystem;
 }
Example #3
0
 public Separation(GameObject agent, BehaviourSystem behaviourSystem, float weight)
     : base(agent, BehaviourType.Separation, weight)
 {
     owner = behaviourSystem;
 }
Example #4
0
 public Alignment(GameObject agent, BehaviourSystem behaviourSystem, float weight)
     : base(agent, BehaviourType.Alignment, weight)
 {
     owner = behaviourSystem;
 }
Example #5
0
 private void Awake()
 {
     actionIcon      = GetComponent <Image>();
     behaviourSystem = GetComponentInParent <BehaviourSystem>();
 }