Summary
Script used to have a world space text identifying an avatar, facing the local avatar.
- Namespace
- ASL
.PlayerSystem - Base Types
-
- Photon
.PunBehaviour - LocalEventHandler
- Photon
graph TD
Base0["LocalEventHandler"]-->Type
click Base0 "/2019.CRCS-WebSite/Documentation/api/ASL.LocalEventSystem/LocalEventHandler"
Base1["Photon.PunBehaviour"]-->Base0
Type["BillboardText"]
class Type type-node
Syntax
public class BillboardText : LocalEventHandler
Methods
Name | Value | Summary |
---|---|---|
OnDestroy |
void |
Unsubscribes from the lcal events system to prevent a memory leak.
Inherited from LocalEventHandler
|
OnEnable |
void |
Subscribes to Local event system, when a local event is trigger the OnLocalEvent function will be called.
Inherited from LocalEventHandler
|
OnJoinedRoom |
void |
Upon joining a room find the primary camera.
|
OnLocalEvent |
void |
Event handler for local events relating to the synchronization of the world space
canvas text.
|
OnPhotonInstantiate |
void |
Initilize the reference the networked components.
|