ChildCheckOnOwned
A class in Root.Township, the global namespace.
Server: when the entity spawns, fires one of two events depending on whether it has child entities.
- Listed in Global namespace: C to D
- Inherits or implements
NetworkEntityBehaviour
Constructors
| Member | What it is |
|---|---|
ChildCheckOnOwned() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override void InitializeAsServer(SpawnData spawnData) | Server: fires hasChild if the entity has children, otherwise hasNoChild. |