> For the complete documentation index, see [llms.txt](https://joanorba.gitbook.io/spawnertool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joanorba.gitbook.io/spawnertool/api/data/projectsettings/setenemycolor.md).

# SetEnemyColor

function in ProjectSettings

### Declaration

public void SetEnemyColor(string enemyType, Color color);

### Parameters

<table data-header-hidden><thead><tr><th width="178"></th><th></th></tr></thead><tbody><tr><td>enemyType</td><td>Type of enemy you want to change color</td></tr><tr><td>color</td><td>The color you want to assing to enemyType</td></tr></tbody></table>

### Description

Changes the given color for the given enemyType.
