Method AddStatusEffect
| Improve this Doc View SourceAddStatusEffect(CustomStatusEffect)
Add a CustomStatusEffect to the game.
Checks if the custom status effect is unique and adds it to the list of custom status effects.
Custom status effects are added to the current ObjectDB on every ObjectDB.Awake.
Checks if the custom status effect is unique and adds it to the list of custom status effects.
Custom status effects are added to the current ObjectDB on every ObjectDB.Awake.
Declaration
public bool AddStatusEffect(CustomStatusEffect customStatusEffect)
Parameters
Type | Name | Description |
---|---|---|
CustomStatusEffect | customStatusEffect | The custom status effect to add. |
Returns
Type | Description |
---|---|
bool | true if the custom status effect was added to the manager. |