PlayModeRemoteAvatarDriver

csharp
public sealed class PlayModeRemoteAvatarDriver : IPlayModeRemoteAvatarDriver

Namespace NodeWorld.SDK.Client.PlayMode.

Shows the simulated players of Play mode with the default avatar.

Constructors

PlayModeRemoteAvatarDriver

csharp
public PlayModeRemoteAvatarDriver(GameObject defaultAvatarPrefab)

A driver that spawns defaultAvatarPrefab for each simulated player.

Methods

SpawnRemoteAvatar

csharp
public GameObject SpawnRemoteAvatar(SimulatedPlayer player)

Spawns the avatar of a simulated player.

DespawnRemoteAvatar

csharp
public void DespawnRemoteAvatar(SimulatedPlayer player)

Removes the avatar of a simulated player.