BLACKISH DEV BLOG Support
 

 

Unity: Editor Selections (EditorScript)

How to set selectionsin the Editor from an EditorScript:

Selection.activeObject = myAudioClip; //single Object
Selection.objects = new Object[3] {obj1, obj2, obj3}; //multiple objects
Bookmark the permalink. Follow any comments here with the RSS feed for this post. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>