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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

CustomEditor OnSceneGUI() Event.current.clickCount never > 1

Discussion in 'Unity 5 Pre-order Beta' started by AVOlight, Oct 28, 2014.

  1. AVOlight

    AVOlight

    Joined:
    Apr 15, 2014
    Posts:
    426
    1) if(Event.current.type == EventType.mouseDown) Debug.Log(Event.current.clickCount); // always == 1

    Event.clickCount Documentation says "Used in EventType.MouseDown event;"

    now only works in EventType.used and EventType.mouseMove
     
    Last edited: Nov 3, 2014