Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- toggleTxt = GUILayout.Toggle(toggleTxt, "A Toggle text");
- if (GUILayout.Button("INVERTED: " + cInput.IsAxisInverted("Horizontal"), "box", GUILayout.Height(35)) && Input.GetMouseButtonUp(0)) {
- //cInput.InvertAxis("Horizontal");
- toggleTxt = !toggleTxt;
- }
Add Comment
Please, Sign In to add comment