public void Begin() { if (inProcess || agent.isAttacking || agent.isDefending) { return; } mouthCollider.enabled = true; mouth.lastBiteFoodAmount = 0f; process.Begin(); }
public void Begin() { if (inProcess || outOfStamina) { return; } coreModule.stamina[0] -= 0.1f; candidate.performanceData.totalTimesDefended++; process.Begin(); }
public void Begin() { if (inProcess) { return; } mouth.enabled = true; candidate.performanceData.totalTimesAttacked++; process.Begin(); }