Skip to main content

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.

Constructors​

MemberWhat it is
ChildPrefab(NetworkEntity parent, NetworkPrefab child)Creates a NetworkPrefab.ChildPrefab from parent and child.

Fields​

MemberWhat it is
NetworkPrefab childThe nested network prefab.
NetworkEntity parentThe entity the child prefab belongs to.

Used in​

Members of other types that take, return or hold a ChildPrefab: