Pathfinding.AstarData.LoadFromCache C# (CSharp) Method

LoadFromCache() public method

public LoadFromCache ( ) : void
return void
		public void LoadFromCache () {
			
			AstarPath.active.BlockUntilPathQueueBlocked();
			if (data_cachedStartup != null && data_cachedStartup.Length > 0) {
				//AstarSerializer serializer = new AstarSerializer (active);
				//DeserializeGraphs (serializer,data_cachedStartup);
				DeserializeGraphs (data_cachedStartup);
				
				GraphModifier.TriggerEvent (GraphModifier.EventType.PostCacheLoad);
			} else {
				Debug.LogError ("Can't load from cache since the cache is empty");
			}
		}