UNITY GAME DEVELOPMENT Unity Editor Extensions CLASS OVERVIEW

  • Slides: 11
Download presentation
UNITY GAME DEVELOPMENT Unity Editor Extensions

UNITY GAME DEVELOPMENT Unity Editor Extensions

CLASS OVERVIEW Class 9 Revision Custom. Editor Menu. Item Editor. Window Spawning Objects Display

CLASS OVERVIEW Class 9 Revision Custom. Editor Menu. Item Editor. Window Spawning Objects Display Selected Objects Advanced: Ray. Cast Spawning Advanced: Cube Spawning Objects

REVISION Import & Setup Character Import & Setup Weapon Import & Setup Animations Bone

REVISION Import & Setup Character Import & Setup Weapon Import & Setup Animations Bone rotations (Aiming) Animation Masking Inverse Kinematics (IK) Advanced: Impact marking Advanced: Aiming Camera

CUSTOMEDITOR Custom. Editor adds custom Editor UI On. Inspector. GUI to add functionality GUILayout.

CUSTOMEDITOR Custom. Editor adds custom Editor UI On. Inspector. GUI to add functionality GUILayout. Label GUILayout. Button Editor. GUILayout. Colorfield Editor. GUILayout. Slider … Execute actions in Editor. Mode

MENUITEM Menu. Item allows adding new entries in Toolbars Execute action by clicking on

MENUITEM Menu. Item allows adding new entries in Toolbars Execute action by clicking on it or by assigning a shortcut

EDITORWINDOW Editor. Window allows creation of new Windows Each Window can have unique functionality:

EDITORWINDOW Editor. Window allows creation of new Windows Each Window can have unique functionality: Procedural Generation Renaming Objects Spawning / Editing / Replacing objects Generating complete Levels / Worlds … Anything you can imagine!

SPAWNING OBJECTS Spawn Objects from selection Selection. active. Object Main active object as shown

SPAWNING OBJECTS Spawn Objects from selection Selection. active. Object Main active object as shown in inspector Selection. game. Objects Multiple objects selected using CTRL Determine position and rotation using user input and store it :

DISPLAY SELECTED OBJECTS List selected objects by appending a string Iterate over each entry

DISPLAY SELECTED OBJECTS List selected objects by appending a string Iterate over each entry of selected objects

ADVANCED: RAYCAST SPAWNING Shoot Ray. Cast from Random Position downwards Instantiate Random Object on

ADVANCED: RAYCAST SPAWNING Shoot Ray. Cast from Random Position downwards Instantiate Random Object on Ray. Hit Position Attach to empty Parent to reduce Object clutter in Scene Hierarchy

ADVANCED: CUBE SPAWNING OBJECTS Ensure user has Cube selected Access Bounds of Cube for

ADVANCED: CUBE SPAWNING OBJECTS Ensure user has Cube selected Access Bounds of Cube for Min / Max values

Q&A Do you have any questions related to the topics mentioned?

Q&A Do you have any questions related to the topics mentioned?