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. Dismiss Notice

Updated list of platform defines?

Discussion in 'Editor & General Support' started by guavaman, Oct 28, 2014.

  1. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,490
    Last edited: Oct 28, 2014
  2. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,490
    Okay, nobody knows. Here are a bunch I found in the 4.5.4 Unity.exe. Still no Wii or WiiU in there.

    EDIT: Found the WiiU define -- it's UNITY_WIIU. Added it to the list.

    UNITY_EDITOR
    UNITY_EDITOR_WIN
    UNITY_EDITOR_OSX
    UNITY_EDITOR_64
    UNITY_64
    UNITY_STANDALONE
    UNITY_STANDALONE_WIN
    UNITY_STANDALONE_OSX
    UNITY_STANDALONE_LINUX
    UNITY_METRO_8_0
    UNITY_METRO_8_1
    UNITY_WINRT
    UNITY_METRO
    UNITY_WEBPLAYER
    UNITY_IOS
    UNITY_IPHONE
    UNITY_ANDROID
    UNITY_WP8
    UNITY_WP_8_1
    UNITY_BLACKBERRY
    UNITY_BB10
    UNITY_PS3
    UNITY_PS4
    UNITY_PSP2
    UNITY_PSM
    UNITY_XBOX360
    UNITY_XBOXONE
    UNITY_WII
    UNITY_WIIU
    UNITY_FLASH
    UNITY_STV
    UNITY_TIZEN
    UNITY_SAMSUNGTV
    UNITY_XENON
    UNITY_NACL
    UNITY_NACL_WEBPLAYER
    UNITY_NACL_CHROME
    UNITY_PEPPER
    UNITY_WEBGL
    UNITY_PRO_LICENSE
    UNITY_TEAM_LICENSE
    UNITY_EDITOR_UNDER_NDA

    And a bunch more fun stuff:

    UNITY_WINRT_API
    UNITY_XBOXONE_API
    UNITY_PS3_API
    UNITY_PSM_API
    UNITY_PSP2_API
    UNITY_XENON_API
    UNITY_PS4_API
    UNITY_WP8_API
    UNITY_METRO_API
    UNITY_ANDROID_API
    UNITY_IPHONE_API
    UNITY_BB10_API
    UNITY_TIZEN_API
    UNITY_STV_API
    COMBINED_ASSEMBLIES
    GFX_SUPPORTS_PLATFORM
    WEBPLUG
    ENABLE_VERSION_CONTROL_INTEGRATION
    ENABLE_SDL
    ENABLE_WINRT_PINVOKE
    ENABLE_SERIALIZATION_BY_CODEGENERATION
    ENABLE_LAZY_METHOD_CACHING
    ENABLE_GAMECENTER
    ENABLE_DUCK_TYPING
    ENABLE_CLOTH
    ENABLE_CACHING
    ENABLE_NETWORK
    ENABLE_WEBCAM
    ENABLE_MOVIES
    ENABLE_SUBSTANCE
    ENABLE_TERRAIN
    ENABLE_MONO
    ENABLE_AUDIO_FMOD
    ENABLE_MICROPHONE
    ENABLE_TEXTUREID_MAP
    ENABLE_SINGLE_INSTANCE_BUILD_SETTING
    ENABLE_NAVMESH_CARVING
    ENABLE_AUDIO
    ENABLE_SHADOWS
    ENABLE_2D_PHYSICS
    ENABLE_PHYSICS
    ENABLE_IMAGEEFFECTS
    ENABLE_WWW
    ENABLE_GENERICS
    ENABLE_NEW_HIERARCHY
    ENABLE_UNITYEVENTS
    RENDER_SOFTWARE_CURSOR
    INCLUDE_METROSUPPORT
    INCLUDE_WP_BLUE_SUPPORT
    INCLUDE_WP8SUPPORT
    TRACE
    DEBUG
    ENABLE_PROFILER.DEVELOPMENT_BUILD
     
    Last edited: Apr 25, 2015
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Hi,

    Wii U is not supported on Unity 4.5, that's why it isn't part of RuntimePlatform, nor there's a define that you can use there. It simply doesn't exist in that Unity version.
     
  4. guavaman

    guavaman

    Joined:
    Nov 20, 2009
    Posts:
    5,490
    Hi,

    Well, I'm not trying to use it actually, just be able to detect the platform should someone use it without regard to the Unity version. I should have looked through the 4.3 exe then, but I found the define anyway. It's UNITY_WIIU just as I thought it might be.