public override void Enter()
        {
            agent.SetDestination(owner.Home);
            if (owner.GuardIndicator != null)
            {
                owner.GuardIndicator.SetIndicatorSprite(owner.GuardIndicator.GetIndicatorSprite(GeneralVariables.GUARD_ICON.DOTS));
            }

            StateVariables stateVariables = owner.FSM.GetStateVariables <GoingHomeState>();

            owner.LightFeedback.SetColour(stateVariables.GetLightColour());
            owner.VisionCone.SetMaterialColour(stateVariables.GetLightColour());
            agent.speed = stateVariables.GetMovementSpeed();
        }
    public override void Enter()
    {
        target = GameObject.FindGameObjectWithTag(GeneralVariables.PlayerTag).transform;
        if (owner.GuardIndicator != null)
        {
            owner.GuardIndicator.SetIndicatorSprite(owner.GuardIndicator.GetIndicatorSprite(GeneralVariables.GUARD_ICON.EXCLAMATION));
        }

        StateVariables stateVariables = owner.FSM.GetStateVariables <ChasePlayerState>();

        owner.LightFeedback.SetColour(stateVariables.GetLightColour());
        owner.VisionCone.SetMaterialColour(stateVariables.GetLightColour());
        agent.speed = stateVariables.GetMovementSpeed();
    }