NetworkPrefabChildEventHandler
A delegate in Root.Township, Alta.Networking.
Callback for when a saved child of a prefab has spawned, given the child prefab, its parent entity and the child index. Used with ISerializeChildren.GetSpawnedChildren.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
NetworkPrefabChildEventHandler(object object, IntPtr method) | Made by the compiler when you assign a method to this delegate; you don't call it directly. |
Methods
| Member | What it is |
|---|---|
virtual IAsyncResult BeginInvoke(NetworkPrefab prefab, NetworkEntity parent, int childIndex, AsyncCallback callback, object object) | Starts the call on another thread; not supported in Unity, so use Invoke. |
virtual void EndInvoke(IAsyncResult result) | Waits for a call started with BeginInvoke; not supported in Unity. |
virtual void Invoke(NetworkPrefab prefab, NetworkEntity parent, int childIndex) | Calls every method on this delegate with these arguments. |
Used in
Members of other types that take, return or hold a NetworkPrefabChildEventHandler: