Add debug mode toggling to iOS Unity wrapper