I have a current setup where if you pick up an item, the animation is set to trigger on the UI Canvas to show “+10 Health!”, it all works fine the first time, but afterwards I am unable to trigger it again when I pick up another item.
EDIT: Unity Version 4.6.1
The trigger is set by:
healthanim.SetTrigger("HealthUp");
where healthanim is:
GameObject.FindWithTag("HudCanvas").GetComponent <Animator> ();
If anyone has any thoughts on the matter it would be highly appreciated, I’m still new to Unity and trying to learn the ropes so if there is a better way to achieve what I am trying to do, feel free to suggest that too!
EDIT: My Mecanim Animation Thing
