Triangle Count

Triangle count refers to the unique number of polygon triangles that are being drawn in a game. Everything being rendered in the engine is using some variation of polygons, and the engine has to take these into account. Even the 2D sprites we are using are placed on some sort of polygonal mesh, usually a plane made up of two triangles.

Polygons affect the CPU (processor) side of the engine more than draw calls (graphics side), so you should try to keep them within a reasonable budget. Take into account the platform and the number of polygons you should be shooting for. There are a ton of resources on the Net for these budgets.

Colliders also use polygon counts to build their mesh. Whenever you use colliders, it’s recommended to ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.