private void PlacementStop() { hideDirectionalIndicator(); showMapTools(); OnAfterUserActionOnMap.Invoke(); IsBeingPlaced = false; feedbackSoundComponent.PlayFeedbackSound(); AllowGuideObject(); InputManager.Instance.PopModalInputHandler(); GuideStatus.ShouldShowGuide = true; // load the buildings AFTER the map is placed, only at the start GameObject.Find(GameObjectNamesHolder.NAME_MAPBOX).SendMessage("LoadBuildingsAfterMapPlaced"); }
public void scalable_OnUnregister() { OnAfterUserActionOnMap.Invoke(); }