• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Onscenegui

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Carotaa666 edited

Editor.OnSceneGUI never called.

Apr 15, '23 editor·bug·onscenegui

4 Replies

1 Votes

avatar image

huulong edited

Support multiple selection with OnSceneGUI handles (The targets array should not be used inside OnSceneGUI)

Jan 12, '23 editor·editor-scripting·selection·onscenegui·handle

1 Reply

0 Votes

avatar image

AppleseedSmoothie answered

OnSceneGUI requires you to be have the script open in inspector to work

Sep 20, '22 editor·onscenegui

2 Replies

0 Votes

avatar image

zORg_alex commented

How to disable the default transform gizmo in editor?

May 30, '22 editor·custom editor·gizmo·onscenegui·handle

1 Reply

1 Votes

avatar image

andrew-lukasik commented

how do i draw something in the scene for a property

May 26, '22 scripting problem·propertydrawer·customization·onscenegui

0 Replies

1 Votes

avatar image

GXMark answered

Editor EventType.MouseDrag not working with left mouse

Jan 16, '22 in Help Room

3 Replies

0 Votes

avatar image

Snazsh asked

Keep multiple custom handles visible in the Scene view

Mar 2, '21 editor·sceneview·handles·onscenegui

0 Replies

0 Votes

avatar image

logan4179 edited

How do you detect clicks in scene view without losing object focus?

Feb 26, '21 editor-scripting·click·onscenegui·ondrawgizmos

0 Replies

2 Votes

avatar image

razveck commented

How do I prevent Unity from deselecting the current object when I click in the SceneView?

Jul 16, '20 mouse·onscenegui·deselect

1 Reply

2 Votes

avatar image

soma1294 asked

Handles.PositionHandle not working anymore in version 2019.3?

Feb 25, '20 editor-scripting·bug-perhaps·gizmos·handles·onscenegui

0 Replies

1 Votes

avatar image

MattSawrey answered

Resources for understanding GuiUtility.hotcontrol.

Nov 4, '19 in Help Room

1 Reply

0 Votes

avatar image

Dankey_Kang asked

How do I draw mesh geometry in the Scene Viewport in OnSceneGUI using Graphics?

May 9, '19 c#·editor-scripting·editor scripting·onscenegui

0 Replies

0 Votes

avatar image

AnAvrgSkittle asked

Is there a way to use OnSceneGUI with a scriptable object as the target? Closed

Jan 28, '19 scriptableobject·onscenegui

0 Replies

0 Votes

avatar image

YVanhoutte commented

How to read the current PivotRotation or PivotMode ?

Jul 24, '18 editor·pivot·handles·onscenegui·handle

1 Reply

3 Votes

avatar image

GameDevSA commented

Working out which object the mouse is over in the editor

Jun 24, '18 in Help Room

0 Replies

0 Votes

avatar image

rugvedkhandekar commented

How To Drag Something From GUI - To Scene - Help

Apr 13, '18 gui·selection·drag-and-drop·onscenegui

2 Replies

1 Votes

avatar image

Noxury edited

How to serialize Field Variables on hidden Editor scripts?

Feb 28, '18 editor-scripting·color·serialize·handles·onscenegui

0 Replies

0 Votes

avatar image

Esteem answered

Custom OnSceneGUI-editor not working for ScriptableObjects?

Jan 31, '18 in Help Room

2 Replies

0 Votes

avatar image

sotirosn answered

OnSceneGUI with PropertyDrawer

Sep 8, '17 in Help Room

2 Replies

0 Votes

avatar image

_bearzerk published

Continuously Create Tiles in OnSceneGUI

Sep 1, '17 c#·instantiate·tiles·customeditor·onscenegui

0 Replies

0 Votes

avatar image

Lidex3 asked

Display OnSceneGUI without selecting the object

Aug 1, '17 custom-inspector·onscenegui

0 Replies

0 Votes

avatar image

AndrewKaninchen asked

Is there a way to draw on the scene view from an asset being inspected by the Inspector?

Jul 25, '17 gui·inspector·editor-scripting·onscenegui·oninspectorgui

0 Replies

0 Votes

avatar image

RobAnthem edited

Always show Custom Editor GUI

Jul 6, '17 gui·custom editor·sceneview·onscenegui

1 Reply

0 Votes

avatar image

MattSawrey edited

Can't get mouseDrag event in Custom OnSceneGUI

May 1, '17 event·onscenegui·mousedrag

0 Replies

1 Votes

avatar image

Commoble published

Custom Editor: How to get a reference to an existing object in the scene at the mouse position after drag-and-dropping a prefab into the scene? Closed

Feb 22, '17 2d·editor-scripting·event·drag-and-drop·onscenegui

1 Reply

0 Votes

avatar image

Bunny83 commented

Accessing OnSceneGUI with EditorWindow in JS

Feb 2, '17 javascript·editor·editor-scripting·editorwindow·onscenegui

1 Reply

0 Votes

avatar image

MikeUpchat asked

PositionHandle causing problems

Jan 29, '17 editor·handles·onscenegui

0 Replies

0 Votes

avatar image

Bunny83 answered

Editor values not updating in OnSceneGUI

Dec 11, '16 editor-scripting·onscenegui·oninspectorgui

1 Reply

0 Votes

avatar image

hexdump asked

How to draw a line in scene view by pressing and then dragging with the mouse?

Oct 5, '16 editor-scripting·onscenegui

0 Replies

0 Votes

avatar image

jorgeprodriguez published

Override default drag and drop behavior inside editor

May 3, '16 editor·drag-and-drop·instantiation·onscenegui

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • ›

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta on June 13. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Related Topics

editor editor-scripting handles raycast sceneview custom editor gui editorwindow gizmo event oninspectorgui c# selection scene view handle drag-and-drop mousedrag scriptableobject camera custom-inspector hotcontrol propertydrawer gizmos customeditor bug


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges