1
This commit is contained in:
@@ -15,6 +15,7 @@ namespace BITKit
|
||||
public BBParameter<GameObject> target;
|
||||
protected override bool OnCheck()
|
||||
{
|
||||
if (target.isNoneOrNull) return false;
|
||||
if (target.value.transform.TryGetComponent<IHealth>(out var health))
|
||||
{
|
||||
return health.HealthPoint >= 0;
|
||||
|
Reference in New Issue
Block a user