animation fixes, combo trigger break, new attack animation settings
This commit is contained in:
@@ -339,13 +339,12 @@ namespace DemonBoss.Magic
|
||||
Gizmos.DrawWireCube(transform.position + Vector3.up * 2f, Vector3.one * 0.5f);
|
||||
|
||||
// HP text in Scene View
|
||||
#if UNITY_EDITOR
|
||||
if (Application.isPlaying)
|
||||
{
|
||||
UnityEditor.Handles.Label(transform.position + Vector3.up * 2.5f, $"HP: {currentHealth}/{maxHealth}");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
public void AddHealth(int value)
|
||||
{
|
||||
@@ -362,6 +361,5 @@ namespace DemonBoss.Magic
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user