For parameter:
if(anim.GetBool("reloaded") == false) { //do stuff }
For Current State:
if (Anim.GetCurrentAnimatorStateInfo(0).IsName("Highlighted")) { Debug.Log ("highlighted detected"); displayImage.canvasRenderer.SetAlpha(1f); } else { Debug.Log ("highlighted removed"); displayImage.canvasRenderer.SetAlpha(0f); }