Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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?