asadm / playroom-unity

9 stars 1 forks source link

methods called before insertCoin callback should error out #12

Closed asadm closed 10 months ago

asadm commented 10 months ago

I shouldn't be allowed to do:

PlayroomKit.InsertCoin(() => {})
PlayroomKit.SetState(...)

All methods that are called before playroom has initialized should fail.

momintlh commented 10 months ago

Currently we are only logging the error. by fail do you mean to crash / stop execution if InsertCoin is not initialized? @asadm

asadm commented 10 months ago

logging error is fine

asadm commented 10 months ago

Does it print error in console in mock mode too?