Behaviour designer (not pro version) 1.7.13. Downloaded integration pack for Ultimate Character Controller. Here is a fragment of IsAlive behaviour designer task:
The line that checks for health is commented out.
public override TaskStatus OnUpdate()
{
if (m_Health == null) {
return TaskStatus.Failure;
}
//return m_Health.IsAlive() ? TaskStatus.Success : TaskStatus.Failure;
return TaskStatus.Success;
}
The line that checks for health is commented out.
public override TaskStatus OnUpdate()
{
if (m_Health == null) {
return TaskStatus.Failure;
}
//return m_Health.IsAlive() ? TaskStatus.Success : TaskStatus.Failure;
return TaskStatus.Success;
}