Utopia42-club / utopia42-unity

Utopia42 multi platform Unity client
https://utopia42.club
2 stars 1 forks source link

Add support for event listeners to UtopiaApi #50

Closed rasoulMrz closed 2 years ago

rasoulMrz commented 2 years ago

e.g., time/block put/block removed/player position changed, time passing events

1 - Try to use Observables in plugin api methods. 2 - If 1 was impossible: take callbacks as parameter and return an object with unsubscribe method. (this should be implemented inside the webframe)