new autotargettinf script, dash

This commit is contained in:
2025-05-14 18:23:34 +02:00
parent 6a9c064b8a
commit 86d35d8eaa
12 changed files with 1862 additions and 1143 deletions

View File

@@ -159,6 +159,9 @@ namespace Beyond
public float CurrentHealth => m_vController.currentHealth;
public float MaxHealth => m_vController.MaxHealth;
public AutoTargetting AutoTarget { get; internal set; }
private AutoTargetting m_autoTargetting;
private void Awake()
{
if (s_instance == null)
@@ -182,6 +185,7 @@ namespace Beyond
m_playerConfessionController = GetComponent<PlayerConfessionController>();
m_meleeManager = GetComponent<vMeleeManager>();
m_magicAttacks = GetComponent<MagicAttacks>();
m_autoTargetting = GetComponent<AutoTargetting>();
}