Spawn Service

public sealed class SpawnService : IService

Use this class to spawn units (command centers included — they’re units too, just tagged as such in their UnitData). Do not use your own Instantiate for this purpose — this service also takes care of the unit’s initialization (owner, camera state, DI, etc.) and registers it with UnitsService. Look at its method pages to get more info.