Ejemplo n.º 1
0
    /**
     * After instantiating the UI, this method must be called to dynamically supply the info to be displayed.
     */
    public void Init(InfoScreenContent content)
    {
        _content = content;

        header.SetText(content.headerText);
        subHeader.SetText(content.subHeaderText);
    }
Ejemplo n.º 2
0
 /**
  * Opens an info screen and pauses the game.
  *
  * @param content the content that shall be displayed by the info screen.
  */
 public void Launch(InfoScreenContent content)
 {
     Launch(ui => ui.Init(content));
 }