update
Performs a color update for unit.
A color update means activating all of BaseColorUpdateEffects that are defined by the closest base color.
While unit's color cannot be changed during this method from a different thread, one of the activated effects might (drastically) change it. To avoid impending nonsense (like green healing fireballs), not all effects may get activated.
This method will do nothing if unit's parent GameEntity.FightEntity.isUnitActive for unit returns false.
Parameters
unit
The unit being updated.
control Params
The parameters for controlling activated effects.