CoreGameplay
This commit is contained in:
1 parent
5da64a7b3d
commit
388773129d
96 files changed
+4037
-2489
No files matched your search
@@ -2,10 +2,9 @@ using Code.Gameplay.Player;
|
||||
using DG.Tweening;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace Code.UI
|
||||
namespace Code.UI.Panels
|
||||
{
|
||||
public class GameplayPanel : UIElement
|
||||
{
|
||||
@@ -16,6 +15,7 @@ namespace Code.UI
|
||||
[SerializeField] private float dispatcherTransitionTime = 0.5f;
|
||||
[Header("Timer")]
|
||||
[SerializeField] private TMP_Text timer;
|
||||
public TMP_Text Timer => timer;
|
||||
[Header("HealthBar")]
|
||||
[SerializeField] private Image healthBar;
|
||||
[Header("MoneyBar")]
|
||||
@@ -41,11 +41,6 @@ namespace Code.UI
|
||||
health.OnDamage += HealthUpdate;
|
||||
HealthUpdate(0,health);
|
||||
}
|
||||
private void Update()
|
||||
{
|
||||
timer.text = Time.deltaTime.ToString();
|
||||
}
|
||||
|
||||
public void SummonDispatcher()
|
||||
{
|
||||
// TODO
|
||||
|
||||
Reference in new issue
Block a user