//private Transform head; //private Transform guardTarget; void Start() { animator = GetComponentInChildren <Animator>(); stepsSound = GetComponentInChildren <StepsSound>(); playerBase = GameObject.Find("PlayerBase").transform; //head = transform.Find("ShootTarget"); //guardTarget = GameObject.Find("GuardTarget").transform; }
//private Transform head; //private Transform guardTarget; void Start() { animator = GetComponentInChildren<Animator>(); stepsSound = GetComponentInChildren<StepsSound>(); playerBase = GameObject.Find("PlayerBase").transform; //head = transform.Find("ShootTarget"); //guardTarget = GameObject.Find("GuardTarget").transform; }