A serializable property type that can either reference an action externally defined
in an InputActionAsset or define a new action directly on the property.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
public struct InputActionProperty : IEquatable<InputActionProperty>, IEquatable<InputAction>, IEquatable<InputActionReference>
Constructors
Declaration
public InputActionProperty(InputAction action)
Parameters
Declaration
public InputActionProperty(InputActionReference reference)
Parameters
Properties
The action held on to by the property.
Declaration
public InputAction action { get; }
Property Value
Methods
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Declaration
public bool Equals(InputAction other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Equals(InputActionProperty other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool Equals(InputActionReference other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Declaration
public static bool operator ==(InputAction left, InputActionProperty right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator ==(InputActionProperty left, InputAction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator ==(InputActionProperty left, InputActionProperty right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(InputAction left, InputActionProperty right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(InputActionProperty left, InputAction right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(InputActionProperty left, InputActionProperty right)
Parameters
Returns
Type |
Description |
System.Boolean |
|