UVRController
Контейнер, содержащий основную информацию о возможностях управления игрой.
Свойства
Название
Тип
Описание
C# Декларация
/// <summary>
/// Brainy universal vr controller.
/// </summary>
public class UVRController
{
/// <summary>
/// Controller name.
/// </summary>
[DefaultValue("")]
public string Name { get; set; } = string.Empty;
/// <summary>
/// Controller status.
/// </summary>
[DefaultValue("")]
public string Status { get; set; } = string.Empty;
/// <summary>
/// Is controller support helmets information.
/// </summary>
[DefaultValue(false)]
public bool IsSupportHelmetsInfo { get; set; } = false;
/// <summary>
/// Controller helmets information.
/// </summary>
public List<UVRHelmet> Helmets { get; } = new List<UVRHelmet>();
/// <summary>
/// Is it allowed to change the name of the helmet in the app.
/// </summary>
[DefaultValue(false)]
public bool IsAllowedModifyHemetsName { get; set; } = false;
/// <summary>
/// Is it allowed to set player link in the app.
/// </summary>
[DefaultValue(false)]
public bool IsAllowedSetBrainyPlayerLink { get; set; } = false;
/// <summary>
/// Is controller support game modes.
/// </summary>
[DefaultValue(false)]
public bool IsSupportGameModes { get; set; } = false;
/// <summary>
/// Controller supported game modes.
/// </summary>
public List<UVRGameMode> GameModes { get; } = new List<UVRGameMode> { };
/// <summary>
/// Custom controller functions (Name, (Argument Name, Argument type)).
/// </summary>
public Dictionary<string, Dictionary<string, string>> CustomFunctions { get; } = new Dictionary<string, Dictionary<string, string>>();
}Json Пример
Last updated