PortalCursor.

PlayerPortalControls() Method

Summary

This method is called from the Update function ensuring that the portal cursor updates for each frame. It provides the user controls for interacting with portals, but these can be overriden in a class that extends PortalCursor.
Namespace
ASL.PortalSystem
Containing Type
PortalCursor

Syntax

public virtual void PlayerPortalControls()

Remarks

Controls for the portal cursor are as follows: P - enable/disable portal cursor Space - Create virtual portal C - Create webcam portal R - Register portal T - Set source portal Y - Set destination portal U - Link source to destination portal X - Unlink portal

Return Value

Type Description
void