Populate Method
- Namespace
- SatorImaging.UnityFundamentals
Populate(int, bool)
public static void Populate(int count, bool execute_Awake_OnEnable = false)
Populate instances in pool. (aka. Warmup)
Parameters
count
intexecute_Awake_OnEnable
boolExecute
Awake()
andOnEnable()
once on populate and then deactivate host GameObject. NOTE:OnDisable()
is also executed on deactivate.
Remarks
NOTE: currently consumed instances are not considered.