public void LaunchObjectAnimatorTrigger()
    {
        PlayerManager manager = transform.parent.GetComponent <PlayerManager>();

        if (manager == null)
        {
            return;
        }
        if (manager.GetCurrentState().stateName != "PLAYER_USE_TOOL_STATE")
        {
            return;
        }
        PlayerUseToolState curState = (PlayerUseToolState)manager.GetCurrentState();

        curState.ShootObject();
    }
    public void AutoriseMovementUseToolAnimatorTrigger()
    {
        PlayerManager manager = transform.parent.GetComponent <PlayerManager>();

        if (manager == null)
        {
            return;
        }
        if (manager.GetCurrentState().stateName != "PLAYER_USE_TOOL_STATE")
        {
            return;
        }
        PlayerUseToolState curState = (PlayerUseToolState)manager.GetCurrentState();

        curState.CanMove = true;
    }