Class ObjectPool
Inherited Members
Component.GetComponentInChildren<T>()
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public class ObjectPool : MonoBehaviour
Methods
| Improve this Doc View SourceGetObject(string, Vector3, Quaternion, Transform, bool)
Declaration
public static GameObject GetObject(string tag, Vector3 position, Quaternion rotation, Transform parentTransform = null, bool keepWorldPosition = false)
Parameters
Type | Name | Description |
---|---|---|
string | tag | |
Vector3 | position | |
Quaternion | rotation | |
Transform | parentTransform | |
bool | keepWorldPosition |
Returns
Type | Description |
---|---|
GameObject |