Skip to content

Instantly share code, notes, and snippets.

@kirevdokimov
Last active August 11, 2017 15:21
Show Gist options
  • Save kirevdokimov/6c4b3015d3c985d437b5fa3d5951e06a to your computer and use it in GitHub Desktop.
Save kirevdokimov/6c4b3015d3c985d437b5fa3d5951e06a to your computer and use it in GitHub Desktop.
Content as camera GUI on scene
Handles.BeginGUI();
GUILayout.Window(2, new Rect(Screen.width-110, Screen.height-130, 100, 100), (id)=> {
// Content of window here
GUILayout.Button("A Button");
}, "Title");
Handles.EndGUI();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment