Item Settings
As Template
- Type:
bool
- Default:
false
Items marked as a template will not be created when the game starts. Currently, items marked as a template have the following two uses:
- Used in conjunction with
Custom Ball
. - Used with the script function
scene.createItem()
to create item instances from the template.
Template Name
As Template = true
- Type:
string
- Default: Empty
The template name for the item marked as a template.
Hierarchy Icon
- Type:
enum
- Default:
Auto
The icon for this item in the Hierarchy
.
Hierarchy Color
- Type:
ColorRGBA
- Default:
(1, 1, 1, 1)
The color for this item in the Hierarchy
.
Show Cube
- Type:
bool
- Default:
false
Whether to display a cube for this item in the Scene
. This is used to make it easier to select items that do not have a Renderer
.
Cube Position
Display Cube = true
- Type:
Float3
- Default:
(0, 0, 0)
The offset of this item's cube relative to the item's own position.
Cube Rotation
Display Cube = true
- Type:
Float3
- Default:
(0, 0, 0)
The rotation angle of this item's cube. It will be added to the item's own rotation angle.
Cube Scale
Display Cube = true
- Type:
Float3
- Default:
(1, 1, 1)
The scale of this item's cube. It will be multiplied with the item's own scale.
Cube Color
Display Cube = true
- Type:
ColorRGBA
- Default:
(1, 1, 1, 1)
The color of this item's cube.
Tags
- Type:
string[]
- Default:
[]
The tags for this item. Tags can be used for quick filtering in the Hierarchy
.
TIP
In the Hierarchy
, you can quickly find an item based on its guid
or Tags
.
- Searching by
guid
:- In the Hierarchy, enter the prefix
guid:
, then enter theguid
value. - Ensure the four letters
guid
and all letters in the enteredguid
value are lowercase. - Ensure there are no spaces after the
:
. - Ensure the
guid
value is complete.
- In the Hierarchy, enter the prefix
Searching by(Currently, the feature to find items byTag
Tag
in the editor has a bug and is temporarily unavailable):- In the Hierarchy, enter
tag:
, then enter theTag
value. - Ensure the three letters
tag
are lowercase. - Ensure there are no spaces after the
:
.
- In the Hierarchy, enter