Photon error

I am getting an error "unknown identifier : ‘PhotonNetwork’. No matter which folder I try placing my scripts in that are handling the photon networking code, I keep getting this error. Or if the folder structure needs to be setup a specific way? I am also using Javascript.

Check my question here : http://forum.exitgames.com/viewtopic.php?f=17&t=3331

  • Started a new project
  • Imported PUN (all files except for demo folder)
  • Saved AppID
  • Exit Unity
  • from the file browser :
  • Dragged the PhotonNetwork Plugins folder (Assets>PUN>Plugins>PhotonNetwork) into the root Plugins directory (Assets>Plugins>PhotonNetwork)
  • Dragged the Editor folder to the root directory
  • Dragged the UtilityScripts folder to the Plugins directory

The Resources folder doesn’t like to be moved, AppID is stored there at the start. Works fine left where it is, and using another Resources folder in the root directory for my game assets.