Loading...
Searching...
No Matches
AdventureCore.ButtonWithoutOneModifier Class Reference

Detailed Description

modifier for the new input system that only acts when a modifier is NOT active
when an action is bound to s and another to ctrl+s the new input system would still perform the first one when ctrl was pressed
put this modifier with ctrl on the first action to solve that

Inheritance diagram for AdventureCore.ButtonWithoutOneModifier:

Public Member Functions

override float ReadValue (ref InputBindingCompositeContext context)
 
override float EvaluateMagnitude (ref InputBindingCompositeContext context)
 

Public Attributes

int modifier
 
int button