Wizards

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
*[[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.
 
*[[ToggleActiveRecursively]] - Toggles GameObject.active for all the objects in your selection and their children.  Sets them all active or inactive.
 +
*[[TransformSaver]] - Allows you to record and apply the position, rotation, and scale of selected objects.  It is useful for "presettling" physics.

Revision as of 20:19, 8 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.
  • TransformSaver - Allows you to record and apply the position, rotation, and scale of selected objects. It is useful for "presettling" physics.
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox