Ejemplo n.º 1
0
 private void StartPlacementService()
 {
     AssetPlacement.PlacementService2D placementService = GameObject.FindObjectOfType <AssetPlacement.PlacementService2D>();
     if (placementService != null)
     {
         placementService.StartGame();
     }
 }
Ejemplo n.º 2
0
 private void StorePositions()
 {
     AssetPlacement.PlacementService2D service = FindObjectOfType <AssetPlacement.PlacementService2D>();
     AssetPlacement.StaticCatastrophyDataBroker.StoreLocationPlacementInfo(service.GetPositionInfos());
 }