Attack cooldown works fr this time
This commit is contained in:
17
Assets/UI overlay/AttackCooldown.cs
Normal file
17
Assets/UI overlay/AttackCooldown.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class AttackCooldown : MonoBehaviour
|
||||
{
|
||||
Teo player;
|
||||
TMPro.TMP_Sprite bar;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
player = GameObject.FindGameObjectWithTag("Player").GetComponent<Teo>();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
}
|
||||
}
|
||||
2
Assets/UI overlay/AttackCooldown.cs.meta
Normal file
2
Assets/UI overlay/AttackCooldown.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44c4f0b9443ce51e7bb9fbb5e2ee3e47
|
||||
Reference in New Issue
Block a user