2

It looks like you're also reading your input from a specialized device of some kind. I'll show a conventional version with Unity's built-in input first, for simplicity, then mention how we can incorporate your custom input. First we can set up a data structure you can use to associate a particular hold duration with a specific action: // If you're using ...


Only top voted, non community-wiki answers of a minimum length are eligible