Search Unity

position of content inside Game window in Unity Editor

Discussion in 'Editor & General Support' started by tufeixp, Jan 2, 2018.

  1. tufeixp

    tufeixp

    Joined:
    Sep 6, 2015
    Posts:
    22
    Trying to find a way to get the content position of Game Window in screen space:
    GameWindow = EditorWindow.GetWindow(typeof(EditorWindow), false, "GAME", true);
    GameWindow.position ??

    in windows api I can do this using:
    windowInfo.rcClient
    But no idea in Unity Editor.

    Please Help!