NetworkPrefab.ChildPrefab
A class in Root.Township, Alta.Networking.
Pairs a child network prefab with the entity it sits under, for saving and spawning nested prefabs.
- Listed in Networking and servers
- Nested in
NetworkPrefab
Constructors
| Member | What it is |
|---|---|
ChildPrefab(NetworkEntity parent, NetworkPrefab child) | Creates a NetworkPrefab.ChildPrefab from parent and child. |
Fields
| Member | What it is |
|---|---|
NetworkPrefab child | The nested network prefab. |
NetworkEntity parent | The entity the child prefab belongs to. |
Used in
Members of other types that take, return or hold a ChildPrefab: