728x90 NotSame2 [R&D] Ticket charge 앞의 Energy Slider에서 오프라인에서 접속하였을 경우 추가, ticket에 맞게 변경 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using System; public class UIEnergy : MonoBehaviour { public TMP_Text txtTime; public TMP_Text txtEnergy; public Button btnUseEnergy; private int energy = 5; private int maxEnergy = 5; private int energyTime = 3; private bool charg.. 2023. 4. 11. [R&D] Energy bar Slider 기기의 시간을 가져오는 DateTime과 DateTime간의 간격을 저장하는 TimeSpan using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using System; public class UIEnergy : MonoBehaviour { public Slider energySlider; public TMP_Text txtTime; public TMP_Text txtEnergy; public Button btnUseEnergy; private int energy = 5; private int maxEnergy = 5; private int energyT.. 2023. 4. 11. 이전 1 다음 728x90