OnMouseDown not clicking

The OnMouseDown seems to not be registered by the console and I dont know why. There’s code identical to Ben’s:

public class Button : MonoBehaviour {

    void OnMouseDown()
    {
        Print (name+" pressed");
    }
}

and the screen of the buttons:

How come it’s not working? In fact none of the “OnMouseXXX” method works.

Ok looks like i just had “logs” hidden in the console jesus.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.