temporary files rename
This commit is contained in:
parent
8e077e523c
commit
a87f0ed109
823 changed files with 20 additions and 5 deletions
|
@ -1,23 +0,0 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class HealthBar : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private HealthHandler healthHandler;
|
||||
[SerializeField] private Slider healthSlider;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
healthSlider.maxValue = healthHandler.MaxHealth;
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
healthSlider.value = healthHandler.CurrentHealth;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void LateUpdate()
|
||||
{
|
||||
transform.LookAt(Camera.main.transform);
|
||||
}
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: da56039456f5041c88cca65308f23ca0
|
|
@ -1,21 +0,0 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class ManaBars : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private BaseCapacity capacity;
|
||||
[SerializeField] private Slider manaSlider;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
manaSlider.maxValue = capacity.MaxMana;
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
manaSlider.value = capacity.Mana;
|
||||
}
|
||||
// Child of healthbar, rotation is handled by healthbar
|
||||
|
||||
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bc83878e8ee5d68b2b4f5622c7100b52
|
Loading…
Add table
Add a link
Reference in a new issue