Next: Wall Section, Previous: Selectable, Up: Interaction [Contents][Index]
NOTE: This component uses the Legacy Unity GUI and is not supported on mobile devices This component allows the user to modify objects of a given tag in the scene. This powerful functionality adds transform manipulation directly into your game, great for user-created objects and levels.
To use, add this component to an object in your scene and set the ’Ray Mask’ you wish to allow the player to edit
LayerMask rayMaskCollision layers of objects that we can transform
int windowIDUnique identifier for the legacy Unity GUI window
Default value: 1234
Rect guiAreaNormalized viewport rectangle indicating the area for the legacy Unity GUI window
Default value: new Rect(0.8f, .4f, .19f, .4f)
int mouseButtonMouse button for activating transform on an object. 0 = left, 1 = right, 2 = middle.
Default value: 2
LayerMask rayMaskCollision layers of objects that we can transform
int windowIDUnique identifier for the legacy Unity GUI window
Default value: 1234
Rect guiAreaNormalized viewport rectangle indicating the area for the legacy Unity GUI window
Default value: new Rect(0.8f, .4f, .19f, .4f)
int mouseButtonMouse button for activating transform on an object. 0 = left, 1 = right, 2 = middle.
Default value: 2
Next: Wall Section, Previous: Selectable, Up: Interaction [Contents][Index]