Example Code
Jump to navigation
Jump to search
If you want to pause the game when you press the guide button:
if (X360Core.IsSystemUIVisible() == true) { Time.timeScale = 0; } else if (X360Core.IsSystemUIVisible() == false) { Time.timeScale = 1; }