Moving to flex, Hoping it would fix platform
This commit is contained in:
@@ -16,6 +16,7 @@ public class InputPresetData{
|
||||
public KeyCode leftInput;
|
||||
public KeyCode rightInput;
|
||||
public KeyCode jumpInput;
|
||||
public KeyCode interactingKey;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +48,7 @@ public static class InputManager{
|
||||
m_data.leftInput = KeyCode.A;
|
||||
m_data.rightInput = KeyCode.D;
|
||||
m_data.jumpInput = KeyCode.Space;
|
||||
m_data.interactingKey=KeyCode.W;
|
||||
|
||||
PlayerPrefs.SetString("inputSettings", JsonUtility.ToJson(m_data));
|
||||
PlayerPrefs.Save();
|
||||
|
||||
Reference in New Issue
Block a user