I follow Sebastian Legue's procedural terrain generation tutorials and it work. and I'm try to use it for webgl and for that it don't work. I think it's because of Multi Threading.
so can you tell me how to edit for only main thread?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Threading;
public class ThreadedDataRequester : MonoBehaviour {
static ThreadedDataRequester instance;
Queue dataQueue = new Queue();
void Awake() {
instance = FindObjectOfType ();
}
public static void RequestData(Func
↧