public int PlayerId;


using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
    void OnConnect(VPlayer player)
        // Display player identifier of the connected player
        Debug.LogFormat("Player identifier: {0:D}", player.PlayerId);

Gets the player identifier from this player object. In version 1.0 of the Volplane framework, this properties overhead is quite big. Therefore it should only be used with care.