Search Unity

UIToolkit with windows phone

Discussion in 'Windows' started by LaurensiusTony, Jul 6, 2014.

  1. LaurensiusTony

    LaurensiusTony

    Joined:
    May 22, 2013
    Posts:
    78
    Hi, is there anyone using uitoolkit for windows phone? since i tried it and getting issue in the script for building for windows phone and much likely the main thread for uitoolkit is already dead... i asked there first but after a few weeks no reply, nothing... so maybe anyone here have a way to make it work?

    here is the problem that i asked in prime31 uitoolkit thread

    Code (CSharp):
    1. #if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WEBPLAYER || UNITY_ANDROID || UNITY_STANDALONE_LINUX
    2.         var deviceAllowsHD = true;
    3. #else
    4.         var deviceAllowsHD = ( allowPod4GenHD && iPhone.generation == iPhoneGeneration.iPodTouch4Gen ) || iPhone.generation != iPhoneGeneration.iPodTouch4Gen;
    5. #endif
    6.         if (autoTextureSelectionForHD && deviceAllowsHD)
    7.         {
    8.             // are we loading up a 4x texture?
    9.             if (Screen.width >= maxWidthOrHeightForHD || Screen.height >= maxWidthOrHeightForHD)
    10.             {
    11. #if UNITY_EDITOR
    12.                 Debug.Log("switching to 4x GUI texture");
    13. #endif
    14.                 isHD = true;
    15.                 scaleFactor = 4;
    16.                 hdExtension = "4x";
    17.             }
    18.             // are we loading up a 2x texture?
    19.             else if (Screen.width >= maxWidthOrHeightForSD || Screen.height >= maxWidthOrHeightForSD)
    20.             {
    21. #if UNITY_EDITOR
    22.                 Debug.Log("switching to 2x GUI texture");
    23. #endif
    24.                 isHD = true;
    25.                 scaleFactor = 2;
    26.             }
    27.         }
    the error are
    and
    and maybe anyone in here can give a free alternatif for GUI plugin? beside free version of ngui (i already tried it and not windows phone friendly, low performance in 1gb wp8 and crash in 512mb wp8)