DPad HighlightImage

public string UpHighlightImage;
public string DownHighlightImage;
public string LeftHighlightImage;
public string RightHighlightImage;

Description

using UnityEngine;
using Volplane;

public class Demo : VolplaneBehaviour
{
    void OnConnect(VPlayer player)
    {
        // New element properties
        ElementProperties ep = new ElementProperties();
        ep.UpHighlightImage = "up-highlight-image.png";
        ep.DownHighlightImage = "down-highlight-image.png";
        ep.LeftHighlightImage = "left-highlight-image.png";
        ep.RightHighlightImage = "right-highlight-image.png";

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

Sets the highlight image (up, down, left or right) of a dpad). Specified image must exist in the img folder in the WebGL template: Assets/WebGLTemplates/Volplane/img/ (images and fonts in your controller).