Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Christoph on April 30, 2021, 02:19:47 AM

Title: Resources.LoadAsync with Do Not Spawn option
Post by: Christoph on April 30, 2021, 02:19:47 AM
I updated the action Resources.LoadAsynch from the Ecobrowser and called it *Async without the "h" as in the official Unity documentation: https://docs.unity3d.com/ScriptReference/Resources.LoadAsync.html

The important change nonetheless, is the addition of a boolean for "Do Not Spawn", exactly as we have it in the normal Resources.Load action.

This is needed when you use a pooling system and want instead to add your resources to your pool or simply don't want to instantiate your resources when you load them.

Feel free to download from here or to add to the Ecobrowser.
Title: Re: Resources.LoadAsync with Do Not Spawn option
Post by: jeanfabre on May 12, 2021, 02:03:08 AM
Hi,

 cool, it's on the ecosystem now, I updated the action.

Bye,

 Jean