Can I create custom control for edit Vector2 as a direction? I want to click button "Edit" in editor GUI and open EditorWindow where will be special control which help me set Vector2 direction. Control should not be based on standart text boxes. It should have some circular diagram where I can set vector direction. Like following: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR9x7gNU5wOQxBZYMKscF0DYGimxiiwYz2Aivwt2iCkVgOMwUeXtg Thanks!
Answer by Bunny83
Apr 11, 2013 at 12:24 PM
Sure, why not. You can create whatever you want, however i'm not sure what exactly you expect as answer to this question... The actual answer to the question is simply: Yes. Noone will post a ready-to-use script that does what you want.
Here's my GUI crash course:http://answers.unity3d.com/questions/360901/editor-timeline-create-his-personnal-gui-timeline-.html
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
11 People are following this question.
Make script changes in real time (without being in play mode)?
Why UnityEngine.UI.Text color is not changed right away in the Editor?
How can I create a custom AssetPreview for a prefab
Custom Handle, affect multiple objects
Is it bad practice to put a custom Editor class in the same file as the Monobehaviour it affects?