Class GameItem
Base class for runtime instances in Game Foundation.
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public abstract class GameItem
Properties
Name | Description |
---|---|
definition | The dfinition of this Game |
discarded | Determines if this Game |
id | The unique identifier of this Game |
Methods
Name | Description |
---|---|
Adjust |
Adjusts the value of the Stat |
Adjust |
Adjusts the stat by specified amount. |
Assert |
Throws a Null |
Equals(object) | Determines whether the specified object is equal to the current object. |
~Game |
in finalizer, remove gameItem from gameItem instance lookup |
Get |
Serves as the default hash function. |
Get |
Gets the value of the Stat |
Get |
Gets the value of the given |
Has |
Tells if this Game |
Has |
Tells if this Game |
Reset |
Resets the stat to the default value of its given definition. |
Reset |
Resets the stat to the default value of its given definition. |
Set |
Sets the value of the Stat |
Set |
Sets the value of the given |
Events
Name | Description |
---|---|
removed | Event triggered right after this Game |
stat |
Event triggered when a stat is updated. |