Wizards

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
*[[SetLayerOfSelection]] - A wizard to set the layer of your selection to a specific layer.
 
*[[SetLayerOfSelection]] - A wizard to set the layer of your selection to a specific layer.
 
*[[TakeScreenshotInEditor]] - Takes a screenshot of the current game view and places it in the root level of your project.  Does not overwrite files.
 
*[[TakeScreenshotInEditor]] - Takes a screenshot of the current game view and places it in the root level of your project.  Does not overwrite files.
 +
*[[ToggleActiveRecursively]] - Toggles GameObject.active for all the objects in your selection and their children.  Sets them all active or inactive.

Revision as of 03:30, 1 July 2006

These scripts go in the Assets/Editor folder of your project.

  • Deselect - Sets the current selection in the editor to nothing. Deselects all.
  • PlaceSelectionOnSurface - Takes the current selection and raycasts downward from each object and moves them to where they hit.
  • SelectAllLights - This sets the current selection to be all the lights in your scene.
  • SelectMainCamera - Sets the current selection to the first object tagged "MainCamera" that it finds. This by default is the Main Camera that is in your scene by default.
  • SelectTexturesUsedInSelection - Takes the current selection and selects instead all textures in your assets associated with them.
  • SetLayerOfSelection - A wizard to set the layer of your selection to a specific layer.
  • TakeScreenshotInEditor - Takes a screenshot of the current game view and places it in the root level of your project. Does not overwrite files.
  • ToggleActiveRecursively - Toggles GameObject.active for all the objects in your selection and their children. Sets them all active or inactive.
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox