コード例 #1
0
    // Use this for initialization
    public override void Start()
    {
        base.Start();

        m_selectGameModel = new SelectGameModel(this);

        selectGameView.SelectGameController = this;
        selectGameView.Start();

        // $TODO Play title music

        // Fade in the background
        m_readyForInput = false;
        Fader.AttachFaderTo(this.gameObject, Color.black, Fader.eFadeType.fadeIn, 1.0f, () =>
        {
            m_readyForInput = true;
        });

        // Request a list of games available on the server
        m_gameListRefreshRequested = true;
    }
コード例 #2
0
    // Use this for initialization
    public override void Start()
    {
        base.Start();

        m_selectGameModel = new SelectGameModel(this);

        selectGameView.SelectGameController = this;
        selectGameView.Start();

        // $TODO Play title music

        // Fade in the background
        m_readyForInput = false;
        Fader.AttachFaderTo(this.gameObject, Color.black, Fader.eFadeType.fadeIn, 1.0f, () =>
        {
            m_readyForInput = true;
        });

        // Request a list of games available on the server
        m_gameListRefreshRequested = true;
    }