SetActive

public void SetActive(int playerId, bool value);
public void SetActive(VPlayer player, bool value);

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void OnConnect(VPlayer player)
    {
        // Set newly connected player active
        SetActive(player, true);
    }
}

Set a specific player active or inactive.

playerId The player identifier.
player A player object.
value Boolean indicating the state, active (true) or inactive (false).