BBGamelib.BBFlashFactory.LoadFlash C# (CSharp) Method

LoadFlash() public static method

public static LoadFlash ( string path, bool cached = true ) : BBFlash
path string
cached bool
return BBFlash
		public static BBFlash LoadFlash(string path, bool cached=true){
			BBFlash flash;
			if(!_caches.TryGetValue(path, out flash)){
				flash = new BBFlashImp (path);
				if(cached)
					_caches[path] = flash;
			}
			return flash;
		}
		public static void PurgeCachedData(){