Skip to content

iiDkRemastered/GorillaMedia

Ownership not verified 0
Open on GitHub

Viewing main at commit e83d85e98d“added tracker telemetry”· 19 days ago

21 lines · 544 BRaw on GitHub
using Photon.Pun;
using Hashtable = ExitGames.Client.Photon.Hashtable;

namespace GorillaMedia
{
    public static class CustomProperty
    {
        public const string ID = "github.com/iiDkRemastered/GorillaMedia";

        public static void SetCustomNetworkProperty()
        {
            if (PhotonNetwork.InRoom)
            {
                Hashtable customProps = new Hashtable();
                customProps.Add(ID, "true");
                PhotonNetwork.LocalPlayer.SetCustomProperties(customProps);
            }
        }
    }
}

Code is shown from GitHub as-is. Linking a repository doesn’t prove that a release file on Canopy was built from it.