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