If enabled Awake(), Start(), and OnDestroy() messages are sent to the poolable object if the object is set
active respectively inactive whenever Destroy(GameObject)
This way it is simulated that the object really gets instantiated respectively destroyed.
AudioToolkit (in AudioToolkit.dll) Version: 188.8.131.52 (184.108.40.206)
public bool sendAwakeStartOnDestroyMessage
The Start() function is called immedialtely after Awake() by Instantiate(GameObject)
and not next frame. So do not set data after Instantiate(GameObject)
relies on. In some cases you may not want the Awake(), Start(), and OnDestroy() messages to be sent for performance
reasons because it may not be necessary to fully reinitialize a game object each time it is activated from the pool.
You can still use the OnPoolableObjectActivated
messages to initialize