Unity
10 TopicsIntegrate the Microsoft Graph in your HoloLens and Mixed Reality apps
Microsoft Graph is all about you! About the data of the user: Azure Active Directory, Office 365 data, Enterprise Mobility and Security services, Education tenant data and Windows Services. As a developer, the beauty resides in the unified way to authenticate, access and query the data. It can simply be by using a HTTPS Rest service or the SDK for your platform.4.2KViews1like1CommentAsynchronous programming in Unity, Using Coroutine and TAP
public async Task TaskAwaitACoroutine() { await TaskAsyncCountDown(2, "precoro"); var tcs = new System.Threading.Tasks.TaskCompletionSource<object>(); StartCoroutine( tempCoroutine( CoroutineCountDown(3, "coro"), () => tcs.TrySetResult(null))); await tcs.Task; await TaskAsyncCountDown(2, "postcoro"); } void Start() { stopwatch = new System.Diagnostics.Stopwatch(); stopwatch.Start(); StartCoroutine(CoroutineCountDown(3, "BasicCoCall")); } First published on MSDN on Sep 01, 2017 [中文版本]Background A couple of weeks ago, Unity has released a new version, 2017. public async Task TaskAwaitACoroutine() { await TaskAsyncCountDown(2, "precoro"); var tcs = new System.Threading.Tasks.TaskCompletionSource<object>(); StartCoroutine( tempCoroutine( CoroutineCountDown(3, "coro"), () => tcs.TrySetResult(null))); await tcs.Task; await TaskAsyncCountDown(2, "postcoro"); }8.7KViews1like1Comment