Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Problam with OnMouse functions

Discussion in 'Editor & General Support' started by 4ariel6, Jan 7, 2016.

  1. 4ariel6

    4ariel6

    Joined:
    Nov 17, 2015
    Posts:
    5
    Hi i'm working on a game with the mouse but when I use the OnMouseExit/Enter functions they only called once per run... meaning if I exit the debug.log will show but if i enter and then exit once more the function will not print anything... same with OnMouseOver! the function is called once even if i stay on the object...


    Help?

    TY :)
     
  2. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,874
    You don't have collapsed messages toggle on in the console right?
     
  3. 4ariel6

    4ariel6

    Joined:
    Nov 17, 2015
    Posts:
    5
    You my dear friend are a GENIUS!.... or maybe I'm just stupit... probably little of both

    TY! :) :)
     
    Kronnect likes this.
  4. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,874
    Nevermind, happens to everyone at least once! :)