Example #1
0
 protected override void Awake()
 {
     base.Awake();
     model = GetComponent <Spinner_Model>();
     preconditions.Set("alive", true);
     effects.Set("foundEnemy", true);
 }
Example #2
0
        protected override void Awake()
        {
            base.Awake();
            spinner = GetComponent <Spinner_Model>();
            preconditions.Set("hasTarget", true);

            effects.Set("targetKilled", true);
        }
Example #3
0
 protected override void Awake()
 {
     base.Awake();
     model  = GetComponent <Spinner_Model>();
     energy = GetComponent <Energy>();
     preconditions.Set("foundEnemy", true);
     preconditions.Set("fullEnergy", true);
     effects.Set("EnemyDamaged", true);
 }
Example #4
0
 private void Awake()
 {
     spinner     = GetComponent <Spinner_Model>();
     checkAround = GetComponent <WhosAround>();
 }