Moving to flex, Hoping it would fix platform

This commit is contained in:
2022-01-29 23:28:34 +05:30
parent 891318680d
commit f3d21f4ec6
100 changed files with 25824 additions and 15313 deletions

View File

@@ -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();