Guest User

Untitled

a guest
Jul 22nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. toggleTxt = GUILayout.Toggle(toggleTxt, "A Toggle text");
  2.  
  3.  
  4. if (GUILayout.Button("INVERTED: " + cInput.IsAxisInverted("Horizontal"), "box", GUILayout.Height(35)) && Input.GetMouseButtonUp(0)) {
  5. //cInput.InvertAxis("Horizontal");
  6. toggleTxt = !toggleTxt;
  7. }
Add Comment
Please, Sign In to add comment