빌드 셋팅 변경값, 상점 UI 하트 팝업, 이미지 명, 로딩 UI 애니메이션
This commit is contained in:
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"characterId": 1,
|
||||
"characterId": 0,
|
||||
"currentHearts": 5,
|
||||
"lastHeartTime": ""
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,15 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
public class ShopUI : UIBase
|
||||
{
|
||||
[SerializeField] private GameObject HeartPopUp;
|
||||
|
||||
// // 보유 포션 수량
|
||||
// [SerializeField] private TextMeshProUGUI hpPotionCount;
|
||||
// [SerializeField] private TextMeshProUGUI mpPotionCount;
|
||||
@@ -13,31 +17,34 @@ namespace TON
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
InitPopUpActive();
|
||||
}
|
||||
|
||||
public void InitPopUpActive()
|
||||
{
|
||||
HeartPopUp.SetActive(false);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
SetUserItemData();
|
||||
}
|
||||
|
||||
private void SetUserItemData()
|
||||
{
|
||||
UserItemData userItem = PlayerDataManager.Singleton.userItem;
|
||||
|
||||
// hpPotionCount.text = $"{userItem.hpPotion}";
|
||||
// mpPotionCount.text = $"{userItem.mpPotion}";
|
||||
}
|
||||
|
||||
public void OnClickLobbyButton()
|
||||
{
|
||||
Main.Singleton.ChangeScene(SceneType.Lobby);
|
||||
}
|
||||
|
||||
public void OnClickHeartPopUpButton()
|
||||
{
|
||||
HeartPopUp.SetActive(true);
|
||||
}
|
||||
|
||||
public void OnClickHeartCloseButton()
|
||||
{
|
||||
HeartPopUp.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ dependencies {
|
||||
android {
|
||||
packagingOptions {
|
||||
exclude ('/lib/armeabi/*' + '*')
|
||||
exclude ('/lib/armeabi-v7a/*' + '*')
|
||||
exclude ('/lib/mips/*' + '*')
|
||||
exclude ('/lib/mips64/*' + '*')
|
||||
exclude ('/lib/x86/*' + '*')
|
||||
|
||||
Reference in New Issue
Block a user