IGameObjectCreatorListener.PrepareForRecycle Method

Definition

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 ()

Applies to