Method ClearInstance
ClearInstance(T)
Implement this function in a derived class to automatically clear an instance when Recycle(T) is called.
Declaration
protected virtual void ClearInstance(T instance)
Parameters
| Type | Name | Description |
|---|---|---|
| T | instance | The object to clear. |