IGameObjectCreatorListener.PrepareForRecycle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the GameObject is about to be recycled by the GameObjectPool. This allows you to potentially free up any resources before it is deactivated by the GameObjectPool.
public:
void PrepareForRecycle();
public void PrepareForRecycle ();
abstract member PrepareForRecycle : unit -> unit
Public Sub PrepareForRecycle ()