Fix physics with navmesh agent
- desactivate navmesh temporarly when knockback (MovementHandler TakeImpulse) - Delete unit when HealthHandler Death called - Made 150 units fight (for performance test)
This commit is contained in:
parent
9e582b1a79
commit
0c0b9287ce
8 changed files with 9344 additions and 121 deletions
|
@ -55,6 +55,8 @@ public class HealthHandler : MonoBehaviour
|
|||
{
|
||||
GlobalsVariable.AliveUnitsTeamB.Remove(_unit);
|
||||
}
|
||||
|
||||
Destroy(gameObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue