Unity
10 TopicsAsynchronous 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.7KViews1like1CommentCreate a Windows Mixed Reality App from 0 - The Unity project
Have we said “From 0”🤔😏? Let’s go!- Launch Unity3D; the startup screen allows you to open an existing project or to start a new one; Choose to start a new project clicking on New- Give a new to the project like “CreateObjects”; be sure that 3D is checked; Click on Create Project- Once the project created, the Unity User interface appears.794Views0likes0CommentsIntegrate 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.2KViews1like1Comment