Show / Hide Table of Contents

Method AddStatusEffect

| Edit this page View Source

AddStatusEffect(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.
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.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾