38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
# GoToOtherRoom
|
|
|
|
### Type
|
|
pre-defined
|
|
|
|
### 3D
|
|
Unity: Pink 2x2 square in the floor, text hovering 1.5m above.
|
|
Text is always facing the user.
|
|
|
|
### Custom Args:
|
|
| Key | Type | Implemented | Description |
|
|
|---|---|---|---|
|
|
| RoomName | string | ❌ | Display label shown on the entrance |
|
|
| UUID | string | ❌ | UUID of the target room to teleport to |
|
|
| color | hexColor | ❌ | Tint color of the entrance mesh, default xrwise pink|
|
|
| grabable | `"true"` / `"false"` | ⚠️ (not in Unity yet) | Whether the item can be grabbed in-experience (common to all types) |
|
|
|
|
### Special Notes:
|
|
Only the Mesh still exists. Neither Unity nor Creatro implemented yet.
|
|
|
|
### Example:
|
|
|
|
```json
|
|
{
|
|
"position": { "x": 7.0, "y": 0.1, "z": -2.0 },
|
|
"rotation": { "x": 0.0, "y": 45.0, "z": 0.0 },
|
|
"scale": { "x": 1.0, "y": 1.0, "z": 1.0 },
|
|
"type": "pre-defined",
|
|
"resourcename": "Entrance",
|
|
"item-custom-args": [
|
|
{ "argument": "RoomName", "value": "Demo Room Number 2" },
|
|
{ "argument": "UUID", "value": "a0a11a08-dc35-49e1-9808-1452b9d31be3" },
|
|
{ "argument": "color", "value": "#b4da55" }
|
|
],
|
|
"item-custom-args-adv": null
|
|
}
|
|
```
|