private void Awake() { Transform holder = transform.Find("Graphic").transform.Find("OBJholder"); handAnimator = holder.GetComponent <Animator>(); hitBehavior = holder.GetComponent <PlayerHitBehaviour>(); }
private void Awake() { Transform holder = transform.Find("Graphic").transform.Find("OBJholder"); handAnimator = holder.GetComponent <Animator>(); hitBehavior = holder.GetComponent <PlayerHitBehaviour>(); lM = FindObjectOfType <LevelManagement>(); }