예제 #1
0
        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();
        }
예제 #2
0
        private async void CubeButton_Click(object sender, RoutedEventArgs e)
        {
            await UnityHelpers.LoadSceneAsync("CubeScene");

            await new MessageDialog("Loaded").ShowAsync();
        }