FakeGizmoDemo

From Unify Community Wiki
Revision as of 20:49, 14 March 2010 by Cyclops (Talk | contribs)

Jump to: navigation, search

Introduction

This is a simple demo package that demonstrates two things: creating a fake Runtime Gizmo, and procedural creation of an in-game mesh object.

The fake Gizmo is a three-arrow axis object that can be attached to an in-Hierarchy object. By clicking on one of the arrows, the Gizmo moves itself and the parent object in that axis direction. Note - it's not mouse-draggable as such, just holding the mouse down generates the movement.

To use it, you would drag/drop the script, s_GizmoCreate.cs onto your GameObject. This script procedurally creates the actual Gizmo, which is built by two other scripts, s_Gizmo.cs and s_GizmoClick.cs.

Unity package can be downloaded from Media:FakeGizmoDemo.zip

What it looks like: Fakegizmodemo.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox