public override TaskStatus OnUpdate()
    {
        BotUtility botUtility = botObject.Value.GetComponent <BotUtility>();

        var target = botUtility.FindClosestPlayer();

        if (!botUtility.Attack(target))
        {
            return(TaskStatus.Failure);
        }

        return(TaskStatus.Success);
    }