PortalWorld Class

Summary

The PortalWorld class has a portal that users can travel through and connect to other worlds
Namespace
global
Base Types
Derived Types
graph TD Base0["World"]-->Type click Base0 "/2019.CRCS-WebSite/Documentation/api/global/World" Base1["MonoBehaviour"]-->Base0 Type["PortalWorld"] class Type type-node Type-->Derived0["RoomWorld"] click Derived0 "/2019.CRCS-WebSite/Documentation/api/global/RoomWorld"

Syntax

public class PortalWorld : World

Fields

Name Constant Value Summary
defaultPortal
defaultPortalViewType
defaultPortalXform
network
Inherited from World
portalManager
selector
worldManager
Inherited from World

Methods

Name Value Summary
Awake() void
Init() void
Initialize the PortalWorld. It creates and registers a new portal with the portal manager, and adds it as a child in the world manager.