RegisterEffect - Aidanamite/AssetsLib GitHub Wiki
Description:
Can be used to register a
MoonlighterEffectclass to the effect registry. You will need to use this to setup the behaviours for enchantments, amulets and the like.
Returns: string
The returned string is the string equivalent of the registered class's name
Arguments:
This method only takes a generic type argument. Put the class that you want to register.
Note: the provided type must inherit the
MoonligherEffectclass
Example:
AssetLib.AssetLibTools.RegisterEffect<MyEnchantmentEffect>();