/// <summary> /// Retruns ths shared instance of the cache /// </summary> public static CCBundleCache sharedTextureCache() { if (g_sharedTextureCache == null) { g_sharedTextureCache = new CCBundleCache(); } return(g_sharedTextureCache); }
/// <summary> /// purges the cache. It releases the retained instance. /// @since v0.99.0 /// </summary> public static void purgeSharedTextureCache() { g_sharedTextureCache = null; }