init(allowedInputTypes:)
Creates a new instance of an InputTargetComponent with a set of allowedInputTypes that define what kinds of input the component’s entity can receive.
Declaration
init(allowedInputTypes: InputTargetComponent.InputType = .all)