Constructor

public ElementProperties();
public ElementProperties(bool visible);

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void OnConnect(VPlayer player)
    {
        // New element properties
        ElementProperties ep = new ElementProperties(false);

        // Apply element properties
        player.ChangeElementProperties("button", ep);
    }
}

Initializes the ElementProperties class.

This instance represents the properties for an element on the players controller. Only the properties that are set on this instance will be affected on the controller.

 

visible If set to true, this element will be visible on the controller.