Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Platform Dependent Compilation - windows phone 8

Discussion in 'Windows' started by iossif, Jul 28, 2013.

  1. iossif

    iossif

    Joined:
    Mar 4, 2011
    Posts:
    332
    hi,

    for standalone windows i currently use #if UNITY_STANDALONE_WIN - is there a similar one available für windows phone? the documentation only added blackberry but i see no windows phone option.

    thanks for your help!
     
  2. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    its UNITY_WP8
     
  3. iossif

    iossif

    Joined:
    Mar 4, 2011
    Posts:
    332
    thanks. was not able to find that anywhere.

    edit: hm, seems like UNITY_STANDALONE_WIN does not work for a windows 8 build. what is the option here?
     
    Last edited: Jul 28, 2013
  4. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    that one is UNITY_METRO
     
  5. iossif

    iossif

    Joined:
    Mar 4, 2011
    Posts:
    332
    thanks :) where do you get this information from? maybe this source has more infos for me.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,718
  7. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    I read them somewhere here on there forums posted by Tomas and added to my projects same time so there wasn't any additional info.