미믹 던전 인게임 ui 작업 중...
This commit is contained in:
parent
22972323f8
commit
abf433c6b1
|
|
@ -50,3 +50,4 @@ messageinfo 엄청 느린 버그
|
|||
|
||||
추가 컨텐츠 (미믹 던전)
|
||||
- 추가 컨텐츠 서버 정보 (몇 스텝까지 클리어했는 가?)
|
||||
- 인게임 UI (Common 끄기, MaiStatLvUp 끄기, Stage 끄기, Mimic 켜기)
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -443,7 +443,7 @@ public partial class InGameInfo : MyCoroutine
|
|||
m_GameMode = eGameMode.Lobby;
|
||||
Init_IngameData();
|
||||
NewGameUI.Ins.SetUI_byGameMode(m_GameMode);
|
||||
Load_Map(1);
|
||||
Load_Map(-1);
|
||||
}
|
||||
public void Return_To_ChapterLobby()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 65cfcc55185456d488e6f745adc8c77d
|
||||
guid: 0d3ee1d7a443d6147a6d34afb36832c6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
using CodeStage.AntiCheat.ObscuredTypes;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class Ingame_DungeonBase : MonoBehaviour
|
||||
{
|
||||
public TextMeshProUGUI[] texts_base; // 0 던전&Lv, 1 남은 시간
|
||||
|
||||
ObscuredFloat m_Time;
|
||||
|
||||
public virtual void Set(float time)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
m_Time = time;
|
||||
m_Time.RandomizeCryptoKey();
|
||||
Set_TextTime();
|
||||
}
|
||||
|
||||
void Set_TextTime() { texts_base[1].text = Mathf.Max(0f, m_Time).ToString("F2"); }
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (m_Time > 0f)
|
||||
{
|
||||
m_Time -= Time.deltaTime;
|
||||
Set_TextTime();
|
||||
if (m_Time <= 0f)
|
||||
{
|
||||
// 결과 화면
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7ef1bb0b6282e5e4aa9e12bbfa1bb48f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Ingame_Mimic : Ingame_DungeonBase
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bf277f5bb8f738f43926a3ad2194673b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class MainStatLvUp : uScrollViewMgr
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ using UnityEngine.Rendering.Universal;
|
|||
public class NewGameUI : MonoBehaviourSingletonTemplate<NewGameUI>
|
||||
{
|
||||
public GameObject[] gos; // 0 공용 ui, 1 로비 ui들, 2 인게임 ui들, 3 농장 ui들
|
||||
public GameObject[] gos_ingame; // 0 스테이지, 1 미믹, 2 미궁, 3 시련, 4 웨이브
|
||||
public Ingame_DungeonBase[] ingame_Dungeons; // 0 미믹, 1 미궁, 2 시련, 3 웨이브
|
||||
public GameObject[] gos_etc; // 0 힘민지 레벨업
|
||||
public Transform tf_HUD;
|
||||
public GuideQuestUI m_GuideQuestUI;
|
||||
public MapChoiceUI m_MapChoiceUI;
|
||||
|
|
@ -50,10 +53,18 @@ public class NewGameUI : MonoBehaviourSingletonTemplate<NewGameUI>
|
|||
case eGameMode.Stage:
|
||||
DSUtil.InActivateGameObjects(gos, 0);
|
||||
gos[2].SetActive(true);
|
||||
DSUtil.InActivateGameObjects(gos_ingame, 0);
|
||||
gos_etc[0].SetActive(true);
|
||||
break;
|
||||
case eGameMode.MyFarm:
|
||||
DSUtil.InActivateGameObjects(gos, 3);
|
||||
break;
|
||||
case eGameMode.Dungeon:
|
||||
DSUtil.InActivateGameObjects(gos, 2);
|
||||
gos_etc[0].SetActive(false);
|
||||
DSUtil.InActivateGameObjects(gos_ingame, 1);
|
||||
ingame_Dungeons[0].Set(30f);
|
||||
break;
|
||||
}
|
||||
|
||||
m_BattleUI.Set(eUICardType.Use, ServerInfo.Ins.m_ServerData.Equip.Preset);
|
||||
|
|
|
|||
Loading…
Reference in New Issue