Property discarded
discarded
Determines if this GameItem instance has been
discarded (removed from Game Foundation).
GameItem instances being standard objets, they cannot
be destroyed and garbage collected while all their references are
not set to null
.
The discarded property is a way for you to know if the
object is still active within Game Foundation.
Declaration
public bool discarded { get; }
Property Value
Type | Description |
---|---|
bool | True if the GameItem instance has been removed from Game Foundation. |