Detect Photon version with #IF
Options
What are the Scripting Define Symbols to detect if a user has Photon 1 or 2?
I'm upgrading a Photon related asset but keeping backwards compatibility with Photon Classic.
I'm upgrading a Photon related asset but keeping backwards compatibility with Photon Classic.
0
Comments
-
Photon 1 = PHOTON
Photon 2 = PHOTON_UNITY_NETWORKING;PUN_2_0_OR_NEWER;PUN_2_OR_NEWER0 -
0