I would like to keep some of static fields from static class between sessions.
private static KeyCode[] KeyRight = new KeyCode[4];
private static KeyCode[] KeyLeft = new KeyCode[4];
private static KeyCode[] KeyUp = new KeyCode[4];
private static KeyCode[] KeyDown = new KeyCode[4];
These are variables i want to keep and load their values at start. I’d like to them to keep controls for 4 players (that’s why these are arrays). I use functions to set/get their values. This class is static, other classes just use Get functions to load keys from it. Can you help me with that?