risk-of-thunder / R2API

A modding API for Risk of Rain 2
https://thunderstore.io/package/tristanmcpherson/R2API/
MIT License
134 stars 55 forks source link

Add support for skin-specific VFX replacements to the R2API.Skins submodule. #509

Closed pseudopulse closed 8 months ago

pseudopulse commented 9 months ago

Adds the SkinVFX class to R2API.Skins. Provides an easy helper method for automatically replacing VFX depending on the equipped skin.

Supports replacing VFX for:

Provides the AddSkinVFX method, which takes in a SkinDef to require, any of (EffectIndex | string | GameObject), and either a replacement gameobject or a delegate to call upon the effect being spawned.

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

Nebby1999 commented 9 months ago

Please Bump the minor version of the Skin submodule on the thunderstore.toml file

That'll allow the funny githubb action to release it automatically

xiaoxiao921 commented 8 months ago

Thanks for the contribution!