Beispiel #1
0
 // UI Event Handlers
 public void OnPreviousPortraitClicked()
 {
     if (!m_createCharacterModel.IsCharacterCreateRequestPending)
     {
         m_createCharacterModel.SelectPreviousPicture();
         createCharacterView.SetPortraitId(m_createCharacterModel.GetPictureId());
     }
 }
Beispiel #2
0
    // Use this for initialization
    public override void Start()
    {
        base.Start();

        m_createCharacterModel = new CreateCharacterModel(this);

        createCharacterView.CreateCharacterController = this;
        createCharacterView.Start();
        createCharacterView.SetPortraitId(m_createCharacterModel.GetPictureId());

        // Fade in the background
        m_readyForInput = false;
        Fader.AttachFaderTo(this.gameObject, Color.black, Fader.eFadeType.fadeIn, 1.0f, () =>
        {
            m_readyForInput = true;
        });
    }
    // Use this for initialization
    public override void Start()
    {
        base.Start();

        m_createCharacterModel = new CreateCharacterModel(this);

        createCharacterView.CreateCharacterController = this;
        createCharacterView.Start();
        createCharacterView.SetPortraitId(m_createCharacterModel.GetPictureId());

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