Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UWP on Xbox One how to tell the platform

Discussion in 'Windows' started by elettrozero, Sep 23, 2017.

  1. elettrozero

    elettrozero

    Joined:
    Jun 19, 2016
    Posts:
    216
    How can I tell if the game is playing on Xbox One or PC?
    Application.platform == RuntimePlatform.XboxOne doesn't seem to work
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,588