Exemple #1
0
    public static void AddDead(this PhotonPlayer player, int num)
    {
        int current = player.GetDead();

        current += num;
        Hashtable props = new Hashtable();

        props[DeadProp] = current;
        player.SetCustomProperties(props);
    }