ComponentPoolWarnOnDestroy Property |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
public override bool WarnOnDestroy { get; set; }
Poolable objects should be released to the pool and re-used, rather than being destroyed. This property ensures any destruction of the pooled objects is logged.
Unfortunately, scene changes may also cause pooled objects to be destroyed. In this case, the warning message will be shown incorrectly, and can safely be ignored.