public MainPage() { InitializeComponent(); game = new AudioGame(); game.Run(DrawingSurface); }
private void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(gameObject); } }
static void Main() { using (var program = new AudioGame()) program.Run(); }