Scripting API

InputControlAttribute

attribute in UnityEngine.InputSystem.Layouts · Unity.InputSystem · inherits from PropertyAttribute

24 of 24 of Unity's members
In Tassix

Marks a control of a device layout, or a composite's part (an int field).

Properties 23

string? alias { get; set; }
string[]? aliases { get; set; }
int arraySize { get; set; }
uint bit { get; set; }
object? defaultState { get; set; }
string? displayName { get; set; }
bool dontReset { get; set; }
string? format { get; set; }
string? layout { get; set; }
object? maxValue { get; set; }
object? minValue { get; set; }
string? name { get; set; }
bool noisy { get; set; }
uint offset { get; set; }
string? parameters { get; set; }
string? processors { get; set; }
string? shortDisplayName { get; set; }
uint sizeInBits { get; set; }
bool synthetic { get; set; }
string? usage { get; set; }
string[]? usages { get; set; }
string? useStateFrom { get; set; }
string? variants { get; set; }