Docs / Input binder

Glossary: BindResult

The properties of BindResult, in alphabetical order.

Color legend plain property

What a bind returns: whether the input was bound and, on a conflict, which action has it.

A readonly struct, in the namespace BorrowedTorch.InputBinding.Types.Results. It has no public constructor: Bind returns one. A default one reads InputBinderResult.None, never Success. The binding page shows it in context, with code.

Names are colored by what they are: a property.

Properties

ConflictingActionHandle →

RegisteredActionHandle · Read-only. For InputBoundToOtherAction, the handle of the action that has the input, to name it to the player; null for any other result.

Result →

InputBinderResult · Read-only. Success, or the first reason the input couldn’t be bound.

Success →

bool · Read-only. Result is Success: the input is bound.