You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I import a prefab that has a object pool on it but I dont look at the inspector for the pool itself, it will never make the PlayerObjectPool object to initialize the pools. This is an issue when distributing packages that use CyanPlayerObjectPool
The text was updated successfully, but these errors were encountered:
doing this in CyanPlayerObjectPoolEditor technically works but not sure if im missing anything
[InitializeOnLoadMethod]
private static void Initialize()
{
// Go through each setup helper and verify their pool size.
foreach (var helper in FindObjectsOfType<CyanPoolSetupHelper>())
{
helper.VerifyPoolSize();
}
}
If I import a prefab that has a object pool on it but I dont look at the inspector for the pool itself, it will never make the PlayerObjectPool object to initialize the pools. This is an issue when distributing packages that use CyanPlayerObjectPool
The text was updated successfully, but these errors were encountered: