Hello,
I find a ton of Java examples about OnGui Events, but nothing for C# .
For a simple test I get this message:
Assets/Standard Assets/CIEConfig.cs(50,39): error CS0120: `UnityEngine.Event.keyCode’: An object reference is required for the nonstatic field, method or property
Here the code:
if (Event.current.functionKey){
Check = Event.keyCode;
}
I think there is a massive syntax error, but don´t know where to find the right one…
Thanks,