Autor:RiskofThunderLast updated:19/12/2022 03:00:451.7M14KB
R2API.Colors is a submodule for R2API that adds a single unified method for adding both Colors and Damage Colors to the game.
These new colors can be used on Attacks for adding unique coloration to the damage numbers, and add unique colors to ItemTiers, and more miscellaneous color usages.
R2API.Colors can be used for mods to add their own ColorIndex and DamageColorIndex to the game, which then can be used in a plethora of scenarios.
This is done via code by methods that return the ColorCatalog.ColorIndex or DamageColorIndex that will represent said color.
Alongsided this, R2API.Colors also adds two new Scriptable Objects, which can be used to pre-serialize Color Indices.
These are the SerializableColorCatalogEntry and the SerializableDamageColor.
These scriptable objects can later be used for example, in EntityStateConfigurations for serializing the DamageColorIndex of a certain attack in an entity state.
Sotz update.R2API.Core.
Download Mods For Free
Install LagoFast, start Risk of Rain 2 and play with the mods you love.