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

            effects.Set("targetKilled", true);
        }
示例#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);
 }
示例#4
0
 private void Awake()
 {
     spinner     = GetComponent <Spinner_Model>();
     checkAround = GetComponent <WhosAround>();
 }