A class in Root.Township, the global namespace.
Synced, saved collection of GhostSnapSlot children. On server spawn it snaps child ghost snap objects into their slots.
Constructors
| Member | What it is |
|---|
GhostSnapSlotCollection() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Properties
| Member | What it is |
|---|
protected override bool IsUsingSyncMessage { get; } | Same as the base value. |
Methods
| Member | What it is |
|---|
override void InitializeAsServer(SpawnData spawnData) | Server: snaps each child GhostSnapObject into its parent slot; any that fail are detached and saved on their own. |