35 lines
930 B
C#
35 lines
930 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public struct CustomInputContextIcon
|
|
{
|
|
public string customInputContextString;
|
|
public Sprite customInputContextIcon;
|
|
}
|
|
|
|
[CreateAssetMenu(fileName = "Device Display Settings", menuName = "Scriptable Objects/Device Display Settings", order = 1)]
|
|
public class DeviceDisplaySettings : ScriptableObject
|
|
{
|
|
|
|
public string deviceDisplayName;
|
|
|
|
public Color deviceDisplayColor;
|
|
|
|
public bool deviceHasContextIcons;
|
|
|
|
public Sprite buttonNorthIcon;
|
|
public Sprite buttonSouthIcon;
|
|
public Sprite buttonWestIcon;
|
|
public Sprite buttonEastIcon;
|
|
|
|
public Sprite triggerRightFrontIcon;
|
|
public Sprite triggerRightBackIcon;
|
|
public Sprite triggerLeftFrontIcon;
|
|
public Sprite triggerLeftBackIcon;
|
|
|
|
public List<CustomInputContextIcon> customContextIcons = new List<CustomInputContextIcon>();
|
|
|
|
}
|