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