Summary
PortalSelector is a class for the user to interface with portal linking in a simple way.
It provides a button that follows the portal wherever it's placed. Clicking the button
will link the portal to the next registered portal, even if that portal is the same as
the source.
- Namespace
- ASL
.PortalSystem - Base Types
-
- MonoBehaviour
graph TD
Base0["MonoBehaviour"]-->Type
Type["PortalSelector"]
class Type type-node
Syntax
public class PortalSelector : MonoBehaviour
Fields
Methods
Name | Value | Summary |
---|---|---|
Initialize |
void |
Initialize the PortalSelector with a camera for raycasting button clicks,
and a source Portal to follow and control.
|