Search Unity

OnMouseOver() trough trigger doesn't work!

Discussion in 'Scripting' started by MrhillyCraft, Sep 16, 2018.

  1. MrhillyCraft

    MrhillyCraft

    Joined:
    Aug 11, 2018
    Posts:
    1
    Hello,
    I have a gameobject with OnMouseOver() but it doesn't work when there is triggercollider gameobject in front of it. How can I make it work trough the trigger?