Search Unity

Has anyone ever adapted the Physics Config Window to be available to the player?

Discussion in 'Physics' started by JimInNH, Jan 11, 2022.

  1. JimInNH

    JimInNH

    Joined:
    Apr 22, 2019
    Posts:
    6
  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,512
  3. JimInNH

    JimInNH

    Joined:
    Apr 22, 2019
    Posts:
    6
    Thank you Edy for your help. I'll check out the link you provided. Do you think that it's not possible to alter the code that creates the editor-only window/panel so to make it available at runtime? That window/panel has all of the UI already included. Jim
     
  4. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,512
    Well, surely it's possible but at least you would need the source code of Unity itself for that xD.

    Now seriously, Editor windows use the Unity Editor API (UnityEditor namespace) which is excluded from builds. For this reason, Unity Editor windows cannot be used or displayed in runtime. Only the underlying API (UnityEngine namespace) can be used in builds.