What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-18 07:15:16
unity html request
// Call Method Through: StartCourotine(SendRequest()); IEnumerator SendRequest() { UnityWebRequest request = UnityWebRequest.Get("REQUEST_URL"); yield return request.SendWebRequest(); if(request.isNetworkError || request.isHttpError) { ... Add solution -
C# 2022-02-11 22:40:24
Unity c#loading a scene after a few seconds
void Start() { //Start the coroutine we define below named ChangeAfter2SecondsCoroutine(). StartCoroutine(ChangeAfter2SecondsCoroutine()); } IEnumerator ChangeAfter2SecondsCoroutine() { //Print the time of when the function is first called. ... Add solution -
C# 2022-01-29 23:16:12
use try catch in coroutine unity
using System; using System.Collections; using UnityEngine; /// <summary> /// Utility functions to handle exceptions thrown from coroutine and iterator functions /// http://JacksonDunstan.com/articles/3718 /// </summary> public st... Add solution