Wizards

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
*[[PlaceSelectionOnSurface]] - Takes the current selection and raycasts downward from each object and moves them to where they hit.
 
*[[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.
 
*[[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.
 
*[[SelectTexturesUsedInSelection]] - Takes the current selection and selects instead all textures in your assets associated with them.
 
*[[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.

Revision as of 03:14, 1 July 2006

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

  • 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.
  • TakeScreenshotInEditor - Takes a screenshot of the current game view and places it in the root level of your project. Does not overwrite files.
Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox