Hey Gil. I'm still on Makinom Version 1.16.0 and Ork 2.26.1
Yes yes I know it's super old :D but I've been working on this game for years on Unity version 2019 and I don't want to upgrade my project.
In those two version, how do you assign the interact and accept key control in script?
Right now I have Interact Key set to Mouse 0 in the Game Control -> Interaction Setting. Same for the Accept Key. I would like to change them through script In Ork and Makinom
Or do you want to change the input origin of an input key?
For that, you'd need to get the input key and adjust it's settings, e.g. for ORK:
InputKey inputKey = ORK.InputKeys.Get(index);
inputKey.type = InputKeyType.KeyCode;
inputKey.positiveKey = KeyCode.A;
Makinom is a bit more complex, though.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I just realize ork, or at least in my version, doesn't have Input ID, so can't change it through ID for it. Since I'm using a mouse and keyboard, xbox controller, and ps4 controller, each of them have their own buttons for Interaction.
In mouse, Interact is E. When I switch it to xbox, it should be button 1. Ps4 is button 2.
So ideally, when I switch to xbox, I would want to call the Interact = E key to change it to Button 1, etc. Found out I could do it easily with Makinom input ID, but since Ork doesn't have any, I'm not sure what else to do. The only thing I could think up is to ,somehow in script if possible, change the interact button directly to use another ork's input key.
For Makinom, you can use input ID system to set up the different inputs and switch between them (globally) via e.g.:
Maki.Control.InputID = 1;
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!