public void Start() { waitTime = new WaitForSeconds(shootInterval); damageHander = behaviorTree.GetVariable("Target") as SharedDamageHandler; StartCoroutine(Shoot()); }
public override void OnReset() { damageHandler = null; }