API reference
API reference
Select your platform
No SDKs available
No versions available

INameTagSpawner Interface

The interface used for spawning name tags for connected players over different networking frameworks.
Currently there are implementations for Photon Fusion (PlayerNameTagSpawnerFusion) and Unity Netcode for Gameobjects (PlayerNameTagSpawnerNGO) for spawning name tags, but more may be added using this interface.

Properties

IsConnected : bool
[Get]
Indicates whether this player has fully connected to the game/app room.
You can use this to determine when to spawn the name tag.
Signature
bool IsConnected

Methods

Spawn ( playerName )
Spawns the name tag with the given username for this player.
Signature
void Spawn(string playerName)
Parameters
playerName: string  The selected username for this player.
Returns
void