Class WeaverCharm
Used to add custom charms to the game
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Namespace: WeaverCore.Features
Assembly: WeaverCore.dll
Syntax
[CreateAssetMenu(fileName = "WeaverCharm", menuName = "WeaverCore/Weaver Charm")]
public abstract class WeaverCharm : ScriptableObject, IWeaverCharm
Properties
| Edit this page View SourceAcquired
Gets or sets a value indicating whether the charm has been acquired.
Declaration
public virtual bool Acquired { get; set; }
Property Value
Type | Description |
---|---|
bool |
AcquiredByDefault
Declaration
public bool AcquiredByDefault { get; set; }
Property Value
Type | Description |
---|---|
bool |
CharmSprite
The sprite of the charm.
Declaration
public Sprite CharmSprite { get; }
Property Value
Type | Description |
---|---|
Sprite |
Description
The description of the charm.
Declaration
public abstract string Description { get; }
Property Value
Type | Description |
---|---|
string |
Equipped
Gets or sets a value indicating whether the charm is equipped.
Declaration
public virtual bool Equipped { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
The name of the charm.
Declaration
public abstract string Name { get; }
Property Value
Type | Description |
---|---|
string |
NewlyCollected
Gets or sets a value indicating whether the charm has been newly collected.
Declaration
public virtual bool NewlyCollected { get; set; }
Property Value
Type | Description |
---|---|
bool |
NotchCost
The notch cost of the charm.
Declaration
public abstract int NotchCost { get; }
Property Value
Type | Description |
---|---|
int |