PlayerLayers
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public static class PlayerLayersNamespace NodeWorld.SDK.Shared.
The layers of the players' avatars, the same in the client and in every world project (TagManager): the avatar of the local player is on LocalPlayer, the others' on RemotePlayer. A world's camera or ray picks players with them (a mirror that shows only the players reflects these two layers).
Constants
LocalPlayer
csharp
public const int LocalPlayer = 7The layer of the local player's avatar.
RemotePlayer
csharp
public const int RemotePlayer = 8The layer of the other players' avatars.
Methods
Assign
csharp
public static void Assign(GameObject root, int layer)Puts the object and all its children on the layer.
