コード例 #1
0
        private void SpawnWizard(Coordinates position)
        {
            var template = EntityTemplateFactory.CreateNPCWizardSnapshotTemplate(position, teamAssignment.Data.teamId);

            SpatialOS.Commands.CreateEntity(npcSpawner, SimulationSettings.NPCWizardPrefabName, template, result => { });
        }