ChangeView

public void ChangeView(int playerId, string viewName);
public void ChangeView(VPlayer player, string viewName);

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void OnConnect(int playerId)
    {
        // Changes the view of the newly connected controller to "mainView".
        ChangeView(playerId, "mainView");
    }
}

Changes the view of a players controller.

playerId The player identifier.
player A player object.
viewName The name identifier of the view set in the controller editor.