Summary
Retrieve a world by its viewID (found in a PhotonView component)
- Namespace
- ASL
.WorldSystem - Containing Type
- WorldManager
Syntax
public World GetWorldById(int id)
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | the viewID of the world to retrieve |
Return Value
| Type | Description |
|---|---|
| World | The retrieved world, or null if not found |