Table of Contents

Class AssetPrefabPool

Namespace
TAssetBundle.Extensions
Assembly
TAssetBundle.Extensions.dll

A class that extends PrefabPool to manage prefabs based on assets.

[AddComponentMenu("")]
[DisallowMultipleComponent]
public class AssetPrefabPool : PrefabPool
Inheritance
Object
Component
Behaviour
MonoBehaviour
AssetPrefabPool
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Extension Methods

Properties

Asset

Property that provides the asset information of the managed GameObject.

public AssetInfo<GameObject> Asset { get; }

Property Value

AssetInfo<GameObject>

IsLoaded

A property that checks whether the asset has been loaded.

public bool IsLoaded { get; }

Property Value

bool

Methods

Init(AssetInfo<GameObject>)

Initializes the pool using the provided asset information.

public void Init(AssetInfo<GameObject> asset)

Parameters

asset AssetInfo<GameObject>

The asset information to initialize the pool with.