Unity – The unit2D sweep control bool for the animator does not work

I was trying to do a control where the animation plays by sliding a direction. every time I do a tapping / drag control, it keeps popping up messages like this. the animation of the tap works fine, but the animation for the sweep commands just does not work, the boolean for them has been assigned but did not make it "true" when I sweep a direction, but the tap's boolean works, which is weird. (ignore the miss bool in the animator)
image for animation controller
image of the console and its description of the problem
he says i have to assign the anim variable of the swipe script in the inspector. but I have nothing left to attribute, which does not make much sense to me. (see Region: Animation)
picture of the inspector

I've tried making some adjustments with the script, but the results are the same and there is no problem while compiling. that is why I need help for animation.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Swipe: MonoBehaviour {


public animator;
public tap, swipeUp, swipeDown, swipeLeft, swipeRight;
public bool isDragging = false;
public Vector2 startTouch, swipeDelta;



Private update void ()
{
tap = swipeUp = swipeDown = swipeLeft = swipeRight = false;


#region Standalone Input
if (Input.GetMouseButtonDown (0))
{
tap = true;
isDragging = true;
startTouch = Input.mousePosition;
//Debug.Log("Tapped ");
}
else if (Input.GetMouseButtonUp (0))
{
isDragging = false;
Reset ();
}

#endregion

#region Mobile Inputs
if (Input.touches.Length> = 1)
{
if (entry.[0].phase == TouchPhase.Began)
{
// tap = true;
isDragging = true;
startTouch = Input.touches[0].position;
}
otherwise if (Input.touches[0].phase == TouchPhase.Ended || Input.touches[0].phase == TouchPhase.Canceled)
{
isDragging = false;
Reset ();
}
}


#endregion



Animation of the region
if (type)
{
anim.SetBool ("Tap", true);
}

if (SwipeDown)
{
anim.SetBool ("Down", true);
}

if (SwipeUp)
{
anim.SetBool ("Up", true);
}

if (SwipeLeft)
{
anim.SetBool ("Left", true);
}

if (SwipeRight)
{
anim.SetBool ("Right", true);
}

#endregion

// calculate the distance
swipeDelta = Vector2.zero;
if (startTouch! = Vector2.zero)
{
if (is dredging)
{
if (Input.touches.Length> 0)
swipeDelta = Input.touches[0].position - startTouch;
else if (Input.GetMouseButton (0))
swipeDelta = (Vector2) Input.mousePosition - startTouch;
}

}

// did we go through the deadzone?
if (swipeDelta.magnitude> 125)
{
//which way?
float x = swipeDelta.x;
float y = swipeDelta.y;
if (Mathf.Abs (x)> Mathf.Abs (y))
{
//left or right
if (x <0)
swipeLeft = true;
other
swipeRight = true;
}
other
{
// Up or down?
if (y <0)
swipeDown = true;
other
swipeUp = true;
}
}

}


public void Reset ()
{
startTouch = swipeDelta = Vector2.zero;
isDragging = false;
anim.SetBool ("Tap", false);
anim.SetBool ("Down", false);
anim.SetBool ("Up", false);
anim.SetBool ("Left", false);
anim.SetBool ("Right", false);
}

public Vector2 SwipeDelta {get {return swipeDelta; }}
public bool Tap {get {return tap; }}
public bool SwipeUp {get {back swipeUp; }}
public bool SwipeDown {get {back swipeDown; }}
public bool SwipeLeft {get {back swipeLeft; }}
public bool SwipeRight {get {back swipeRight; }}

}