Portal.

SetUser(GameObject) Method

Summary

Set the GameObject being used for the user/client position and orientation. If a camera is found within the GameObject or it's children, it will be used for the positioning and orientation of the portal camera. If no camera is found, the main camera is used.
Namespace
ASL.PortalSystem
Containing Type
Portal

Syntax

public void SetUser(GameObject user)

Parameters

Name Type Description
user GameObject The GameObject to retreive the user camera from.

Return Value

Type Description
void