Search Unity

OnMouseOver() and other Mouse functions not working in flash build

Discussion in 'Flash' started by FPSyndicate, Dec 23, 2011.

  1. FPSyndicate

    FPSyndicate

    Joined:
    Mar 31, 2011
    Posts:
    39
    I am using an OnMouseOver() function to run my menus in my game, but it doesn't work when i build the game and export to flash. It works fine in the editor and when i build the game for web development. Has this just not been integrated into the flash build yet? Or is it not possible to use mouse MonoBehaviours? I'm just using the OnMouseOver function to detect when the mouse goes over a collider in my scene. Could someone else try a simple function to maybe see if its just me?

    Thanks:D
     
  2. Karyudo

    Karyudo

    Joined:
    May 4, 2011
    Posts:
    18
    I did check and do have the same issue. OnMouseOver() and the clicks don't seem to pick up...the GUI however responds to the mouse just fine.
     
  3. FPSyndicate

    FPSyndicate

    Joined:
    Mar 31, 2011
    Posts:
    39
    Thats the only problem is that i'm using 3D text for my menu. I like it better than the GUI because its easier to animate, and is 3D, hahaha