Table of Contents

Populate Method

Populate(int, bool)

public static void Populate(int count, bool execute_Awake_OnEnable = false)

Populate instances in pool. (aka. Warmup)

Parameters

count int
execute_Awake_OnEnable bool

Execute Awake() and OnEnable() once on populate and then deactivate host GameObject. NOTE: OnDisable() is also executed on deactivate.

Remarks

NOTE: currently consumed instances are not considered.