IDataObjectPool.ReturnAllPrefetchedObjects(Action<Int32,Object>) 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.
Return all prefectehd objects to the pool for reuse.
public void ReturnAllPrefetchedObjects(Action<int,object> processObject);
abstract member ReturnAllPrefetchedObjects : Action<int, obj> -> unit
Public Sub ReturnAllPrefetchedObjects (processObject As Action(Of Integer, Object))
Parameters
Apply an action to each object being returned. This allows them to be reset.
Remarks
This is useful for situations where a collection is being entirely reset or reorganized where the ids associated with gameobjects are all incorrect.