private void Awake()
        {
            characterController = GetComponent <CharacterController2D>();

            rb = GetComponent <Rigidbody2D>();
        }
 private void Awake()
 {
     toolCheck = GameObject.FindGameObjectWithTag("Player").GetComponent <ToolSwitch>();
     direction = gameObject.GetComponent <CharacterController2D>();
 }