Unity Engine documentationScript ReferenceUnityEngineUnityEngine.PoolObjectPool<T>CountAllThe total number of active and inactive objects.Read time 1 minuteLast updated 13 days agoDefinition Type: Property Namespace: UnityEngine.Pool Assembly: UnityEngine.CoreModule public int CountAll { get; }