Updated Enemy AI System to use STRIPS

This commit is contained in:
MarcoHampel
2024-02-12 02:23:19 -05:00
parent e22b8f8cc2
commit 94e7b67d97
65 changed files with 14816 additions and 19766 deletions

View File

@ -3,6 +3,8 @@ using UnityEngine;
public class PlayerComponent : MonoBehaviour
{
public static PlayerComponent Instance;
[SerializeField] private float health = 5f;
[SerializeField] private float maxHealth = 5f;
@ -37,12 +39,14 @@ public class PlayerComponent : MonoBehaviour
private void Awake()
{
flareRegister = FindObjectOfType<FlareRegister>();
Instance = this;
}
// Start is called before the first frame update
private void Start()
{
perlin = cameraFreeLook.GetRig(1).GetCinemachineComponent<CinemachineBasicMultiChannelPerlin>();
Instance = this;
}
// Update is called once per frame