Does mapping for Noesis.Key and UnityEngine.KeyCode exist?
I need to covert a Noesis.Key to UnityEngine.KeyCode. Does this exist anywhere?
-
sfernandez
Site Admin
- Posts: 2997
- Joined:
Re: Does mapping for Noesis.Key and UnityEngine.KeyCode exist?
There is a NoesisKeyCodes internal class that maps Unity keys to Noesis keys, you can make it public to search for the key using LINQ
Or just keep your own dictionary for that noesis to unity key conversion.
Code: Select all
NoesisKeyCodes._unityToNoesis.FirstOrDefault(x => x.Value == unityKey).Key;
Who is online
Users browsing this forum: Google [Bot] and 9 guests