Skip to content

returninstance

eisclimber edited this page Apr 4, 2026 · 1 revision

ObjectPool.ReturnInstance(GameObject,Transform)

Method in ObjectPool

Summary

Returns an instance to the pool, deactivating it and updating it's parent if provided.

public void ReturnInstance(GameObject go, Transform setParent = null)

Parameters

Name Description
UnityEngine.GameObject go GameObject to return.
UnityEngine.Transform setParent Optional parent if it should be changed.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally