planetarium / UniLibplanet

Libplanet SDK for Unity
https://planetarium.github.io/UniLibplanet/
GNU Lesser General Public License v2.1
13 stars 11 forks source link

Resolve Start mining after Swarm<T>.StartAsync() #45

Closed KimDaeYu closed 2 years ago

KimDaeYu commented 2 years ago

Related to https://github.com/planetarium/UniLibplanet/issues/38

The completion of the preload task is stored in the swarmRunner as a bool variable called PreloadTask_ended Pass swarmRunner to miner.CoStart(_swarmRunner) and wait until PreloadTask_ended value is true. This solves the precedent relationship.

Atralupus commented 2 years ago

Thanks for your first contributing👍