private async void Sphere_Click(object sender, RoutedEventArgs e) { await UnityHelpers.LoadSceneAsync("SphereScene"); await new MessageDialog("Loaded").ShowAsync(); await UnityBridge.Instance.InvokeAsync(() => DoSomething()); await new MessageDialog("Did Something").ShowAsync(); }
private async void CubeButton_Click(object sender, RoutedEventArgs e) { await UnityHelpers.LoadSceneAsync("CubeScene"); await new MessageDialog("Loaded").ShowAsync(); }