コード例 #1
0
    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");
    }
コード例 #2
0
 public void scalable_OnUnregister()
 {
     OnAfterUserActionOnMap.Invoke();
 }