#How to make public variable

1 messages · Page 1 of 1 (latest)

urban ledge
cyan pelican
#

InputDevice device = InputDevice.Get....

change that to

public InputDevice device;

void Awake(){
    device = InputDevice.Get....
}```
#

i think that is what the error is for 🤔