public void FindTargetLockOn(Transform target) { var _targetEnemy = target.GetComponent <v_AIController>(); if (_targetEnemy != null) { targetEnemy = _targetEnemy; } }
public void LostTargetLockOn() { targetEnemy = null; strafing = false; }