Ejemplo n.º 1
0
        public void Init()
        {
            this.gameObject.SetActive(true);

            _characterSelectModel = new CharacterSelectModel(new Entity.CharacterEntityList(_characterDataList));
            _characterSelectView.Init();


            Bind();
        }
Ejemplo n.º 2
0
        public void Init()
        {
            _characterSelectModel = new CharacterSelectModel();

            _characterSelectModel.OnReady.Subscribe(model =>
            {
                Bind();
                _characterPreviewPresenter.Init(_characterSelectModel.CharacterEntities);
                _characterSelectView.Init(_characterSelectModel.CharacterSelectEntities);
            });
        }