Skip to content

TeamColor

namespace Griff.Scenes;
public sealed class TeamColor : Component

Paints the Sprite on this entity in the color of the team of whoever it’s part of: a strategy unit’s or building’s faction color, a network game’s player color (see Network Settings’ Color Players), so a band or banner on a character shows whose it is. Put it on a child with the sprite; a character with none has its own sprite painted.

This is a component: its saved properties are on its component page.

public static List<Sprite> SpritesIn(Entity entity)

The sprites under entity (and its own) that take its team’s color.