Photon + Unity 4

Hello everybody, im full of joy and happy to have photon free license up to 100 users ! :slight_smile:

So, I use newest unity. Not pro. And i want to understand how photon works. I have checked tutorials/demos what came with photon but even if all code is in one file, it’s very hard to understand.

here is what i want to know:

  1. Connect server
  2. How to handle data to “talk” whit client/server ie.

getdata data
select case data
case “MSG” : call parseChat(data, len(data))

Thats all. Thank you for reading whole topic

have a look here - very good source