public class UniqueAvatarChild : CommunicationBridge
GetAvatarChild | Get current avatar child object. |
OverwritePrefab | Instantiate a new child prefab and destroy exising object. |
Possessed | (Overrides CommunicationBridgePossessed(Boolean, User)) |
SetPrefab(UInt16) | Set child prefab to target id. Wraps around if Prefabs is less than id. If child prefab already is set, replace it. |
SetPrefab(User) | Set child prefab to target user's index. Wraps around if Prefabs is less than id. If child prefab already is set, replace it. |
TryGetAvatarChild | Attempt to get current avatar child object. |
Prefabs | The array of prefabs to spawn as children. When index exceeds the length, loop. |