예제 #1
0
        public void Init(DungeonUI owner, string key, string title)
        {
            this.owner = owner;

            this.key              = key;
            this.titleText.text   = title;
            this.bossIcon.enabled = DungeonDatabase.GetInfo(key).isBoss;
            this.newText.enabled  = !UserManager.IsClearDungeon(key);
        }
예제 #2
0
        public void Init(DungeonUI owner, string key)
        {
            this.owner       = owner;
            this.dungeonInfo = DungeonDatabase.GetInfo(key);

            // 제목 텍스트 갱신
            this.titleText.text = this.dungeonInfo.title;

            // 컨텐츠 텍스트 갱신
            this.contentText.text = this.dungeonInfo.content;
        }