terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.Pool.ObjectPool< T > Class Template Reference
+ Inheritance diagram for UnityEngine.Pool.ObjectPool< T >:
+ Collaboration diagram for UnityEngine.Pool.ObjectPool< T >:

Public Member Functions

 ObjectPool (Func< T > createFunc, Action< T > actionOnGet=null, Action< T > actionOnRelease=null, Action< T > actionOnDestroy=null, bool collectionCheck=true, int defaultCapacity=10, int maxSize=10000)
 
T Get ()
 
void Release (T element)
 
void Clear ()
 
void Dispose ()
 

Package Attributes

readonly List< Tm_List
 
bool m_CollectionCheck
 

Properties

int CountAll [get, set, private set]
 
int CountInactive [get, set]
 

Private Attributes

readonly Func< Tm_CreateFunc
 
readonly Action< Tm_ActionOnGet
 
readonly Action< Tm_ActionOnRelease
 
readonly Action< Tm_ActionOnDestroy
 
readonly int m_MaxSize
 
int< CountAllk__BackingField
 

Detailed Description

Type Constraints
T :class 

Definition at line 11 of file ObjectPool.cs.


The documentation for this class was generated from the following file: