PortalManager.

SetPlayer(GameObject) Method

Summary

Assign a GameObject as the player to be used by portals managed by the portal manager. Uponsetting the player triggers corresponding local event.
Namespace
ASL.PortalSystem
Containing Type
PortalManager

Syntax

public void SetPlayer(GameObject p)

Parameters

Name Type Description
p GameObject Player to be assigned.

Return Value

Type Description
void