open() public static method

public static open ( string urlKey, bool newTab = false ) : void
urlKey string
newTab bool
return void
Exemplo n.º 1
0
    public override void press()
    {
        Logger.Log("EndMainMenuButton::press()", Logger.Level.INFO);
        URLOpener.open(studyURLKey, false);

        //if commented out, causes "enter" in the main menu at the end of the game to restart the game
        ModalManager.unsetModal();
        GameStateController.get().endGame();
    }
 private void goToMOOC(bool newTab)
 {
     RedMetricsManager.get().sendEvent(TrackingEvent.GOTOMOOC);
     URLOpener.open(urlKey, newTab);
 }