Search Unity

Event Trigger won't fire

Discussion in 'UGUI & TextMesh Pro' started by omatase, Nov 18, 2014.

  1. omatase

    omatase

    Joined:
    Jul 31, 2014
    Posts:
    159
    Trying to get triggers working on a game object so that when I click on my game object it fires a method. I have an Event System and a Event Trigger working on a UI element in the scene already but it was a little quirky when I was trying to get it to work and now I seem to be experiencing the same quirkiness with this new game object.

    The new game object is a prefab this time with a Canvas component that I placed on it and an Event Trigger. Am I missing a key thing to how Event Triggers work? I compared my new trigger set up to the one I have in the same scene that is working but I can't see anything different between the two.

    Here's a screenshot of the set up in the inspector.

    Capture.JPG