Search Unity

Debugging flash

Discussion in 'Flash' started by KakCAT, Jan 1, 2012.

  1. KakCAT

    KakCAT

    Joined:
    Dec 16, 2011
    Posts:
    10
    Hi,

    I'm just starting with Unity and I'm having problems debugging things that are flash only (in example, the OnMouseDown patch with Physics). Is there any way I can read the Debug.Log output in flash, or is there any other "printf" available for flash?

    Thanks a lot,
    Kak
     
  2. TyrusPeace

    TyrusPeace

    Joined:
    Jun 30, 2009
    Posts:
    36
    GUIText is purportedly very slow in Flash, but you could make a 3D text object a child of your camera's transform and set its string value to whatever you want to print to the screen.

    What OnMouseDown patch with Physics issue are you talking about? I've noticed some weird issues with mouse input + physics, myself, but haven't heard of that kind of thing.
     
  3. Lucas Meijer_old

    Lucas Meijer_old

    Joined:
    Apr 5, 2008
    Posts:
    436
unityunity