private void OnTriggerEnter(Collider other_) { switch (other_.transform.tag) { case "Box": actionCharacter.HeadHeightBox(); break; } }
private void OnTriggerStay(Collider other_) { //Debug.Log(other_.transform.tag + " HeadHeight touch"); switch (other_.transform.tag) { case "Box": actionCharacter.HeadHeightBox(); break; } }