Document toolboxDocument toolbox

2023.1.116.1 ObjectMultiplier



Overview

The Object Multiplier allows a user to easilly duplicate GameObjects following a specific grid pattern.

A dummy object being multiplied in a 3x3 grid

Where to find

The feature can be found under Add Component > Object Multiplier

 


Feature Layout

The image below shows the complete feature layout of the ObjectMultiplier tool.

Fields

 

Game Object

The Game Object you wish to multipy.

Size

The boxed size of the Game Object.

Center

The center of the size box relative to the ObjectMultiplier itself.

Offset

The offset distance between multiplied instances.

Current Instances

The current amount of instances in the scene.

New Instances

The new amount of instances in the scene.

Generate

Apply the new instances to the scene. Adding and removing instances if necessary.

Clear

Clear all multiplied instances in the scene.

Preview in Scene View

Draw a preview of the instances to be added/removed in the scene.

Preview Opacity

The opacity of the drawn preview in scene.


How to use

  1. Create a new GameObject and add the ObjectMultiplier component to it.

  2. Select the GameObject you wish to multiply. It will automatically be parented under the ObjectMultiplier GameObject. The size settings will automatically wrap the selected GameObject.

  3. Set the New Instances values to the desired amount.

  4. If desired, set the offset between each instance.

  5. Click Generate to multiply the GameObject.

Prespective Documentation