Using Photon with Unityscript

Hi everyone.

I’d like to use Photon with Unityscript, so I followed the guidelines and placed the Plugins folder in the root directory of my project. This is where I start getting errors and I have to put the folder back because that seems the only right option that doesn’t give errors like: “PhotonNetwork.PhotonServerSettings’ is inaccessible due to its protection level”.

Someone with any idea how to solve this?

Oh, that sneaked in recently.
Despite the problem, move the plugins folder to the root of your project.
Then find static “ServerSettings PhotonServerSettings” in file PhotonNetwork.cs. This must be “public” instead of “internal” for UnityScript to work.

Let me know if there’s anything else wrong.

Thanks no more error!