diff --git a/Assets/Scripts/Units/Enemy.cs b/Assets/Scripts/Units/Enemy.cs index d45eea9..3bfbe60 100644 --- a/Assets/Scripts/Units/Enemy.cs +++ b/Assets/Scripts/Units/Enemy.cs @@ -1,10 +1,14 @@ using System; using Reset.Core; +using Sirenix.OdinInspector; using UnityEngine; namespace Reset.Units{ public class Enemy : Unit, ILockOnTarget, IKillable { public float lockonTargetRadius{ get; set; } = 10f; + [ShowInInspector] + public bool lockonDebug{ get; set; } = true; + public float lockonRaycastVerticalOffset{ get; set; } = 1f; public Animator testModelAnimator; @@ -43,6 +47,7 @@ namespace Reset.Units{ void Update(){ GetComponent().DrawHealthDebug(); + lockonDebug = true; } public float maxHealth{ get; set; }