improv: lock on targeting debugging option (cont.)
This commit is contained in:
@@ -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<IKillable>().DrawHealthDebug();
|
||||
lockonDebug = true;
|
||||
}
|
||||
|
||||
public float maxHealth{ get; set; }
|
||||
|
||||
Reference in New Issue
Block a user