Example #1
0
        public void Start()
        {
            waitTime = new WaitForSeconds(shootInterval);
            damageHander = behaviorTree.GetVariable("Target") as SharedDamageHandler;

            StartCoroutine(Shoot());
        }
Example #2
0
 public override void OnReset()
 {
     damageHandler = null;
 }