コード例 #1
0
 public void BrowseBongsPosterClicked()
 {
     viewProductPoster.RemoveFromBuilding(false);
     CameraPathFollower pathFollower = mainCamera.GetComponent<CameraPathFollower>();
     pathFollower.StartFollowingPath_startPos_browsingBongs();
     pathFollower.AddOnFollowEndDelegate(manager.StartBrowsingBongs);
 }
コード例 #2
0
    public void BackToMainMenu()
    {
        CameraPathFollower pathFollower = mainCamera.GetComponent <CameraPathFollower>();

        switch (currentMainMenuState)
        {
        case MainMenuState.browsingStrains:
            pathFollower.StartReversingPath_startPos_browsingStrains();
            pathFollower.AddOnFollowEndDelegate(ResetScene);
            UIController.browseItemsBottomBar.OffScreen();
            UIController.browseStrainsUIGrouping.OffScreen();
            break;

        case MainMenuState.browsingBongs:
            pathFollower.StartReversingPath_startPos_browsingBongs();
            pathFollower.AddOnFollowEndDelegate(ResetScene);
            UIController.browseItemsBottomBar.OffScreen();
            break;
        }
    }