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
countintexecute_Awake_OnEnableboolExecute
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.