void Start() { Texture2D mapTexture = graph.GetTexture(); mapColorArray = mapTexture.GetPixels(); mapSize = graph.mapSize; nativeMapColorArray = new NativeArray <Color>(mapColorArray, Allocator.Persistent); nativeTileColorArray = new NativeArray <Color>(tileDictionary.Keys.ToArray(), Allocator.Persistent); StartCoroutine(nameof(ProcessDrawQueue)); StartCoroutine(nameof(ProcessEraseQueue)); }