Constructor GameItem
GameItem(GameItemDefinition, string, string)
Constructor for a GameItem.
Declaration
public GameItem(GameItemDefinition definition, string id = null, string displayName = null)
Parameters
Type | Name | Description |
---|---|---|
GameItemDefinition | definition | The GameItemDefinition this GameItem should use. |
string | id | The Id this GameItem will use. |
string | displayName | The display name this GameItem will use. |