Case Status
Log In


Home ยป Add-ons»Photon Networking»Photon DemoWorker Sample»Photon DemoWorker connection f…
Community Wiki

Photon DemoWorker connection failure gui Fsm

Give the user the possibility to try again if connection failed

This is a critical Fsm.

This Fsm deals with a very specific network status, when it failed to connect. When that happens ( likely because of an Internet connection failure, but the Cloud server service can also be down for various reasons), we need to give the user the ability to attempt connecting again.

For this, there is a simply Built in event PHOTON / FAILED TO CONNECT TO PHOTON that we use to reach the "show error warning and try again button" state, in there, as the states mention, we simply inform the user about the connection failure and present a try again button. We created a special event TRY AGAIN for the occasion used when the user press that button, and attempt connecting again ( in the state "connect")

Photon Actions used:

Photon Events used


Last modified on 5/28/2012 4:21 AM by User.

  • RSS Feed