DEG-84 [Feat] StatsPanelController 추가
슬라이더바 직접 조작을 막기위해 StatsPanelController를 추가 하였습니다.
This commit is contained in:
parent
c0eb07abbf
commit
156e02cb49
23
Assets/LYM/Scripts/StatsPanelController.cs
Normal file
23
Assets/LYM/Scripts/StatsPanelController.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class StatsPanelController : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private Slider healthSlider;
|
||||||
|
[SerializeField] private Slider reputationSlider;
|
||||||
|
[SerializeField] private TMP_Text healthText;
|
||||||
|
[SerializeField] private TMP_Text reputationText;
|
||||||
|
[SerializeField] private TMP_Text timeText;
|
||||||
|
[SerializeField] private TMP_Text ampmText;
|
||||||
|
[SerializeField] private TMP_Text numberText;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
healthSlider.interactable = false;
|
||||||
|
reputationSlider.interactable = false;
|
||||||
|
}
|
||||||
|
}
|
11
Assets/LYM/Scripts/StatsPanelController.cs.meta
Normal file
11
Assets/LYM/Scripts/StatsPanelController.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 20ed70d0d6c60894e9186cf3c49b818b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/LYM/UIPrefabs/HousingMainUIPanel.prefab
(Stored with Git LFS)
BIN
Assets/LYM/UIPrefabs/HousingMainUIPanel.prefab
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user