| | 1 | | //[assembly: InternalsVisibleTo("AssetPromiseKeeper_AssetBundleModelTests")] |
| | 2 | |
|
| | 3 | | namespace DCL |
| | 4 | | { |
| | 5 | | public class AssetPromiseKeeper_GLTFast_Instance : AssetPromiseKeeper<Asset_GLTFast_Instance, AssetLibrary_GLTFast_I |
| | 6 | | { |
| | 7 | | private static AssetPromiseKeeper_GLTFast_Instance instance; |
| | 8 | |
|
| | 9 | | public static AssetPromiseKeeper_GLTFast_Instance i |
| | 10 | | { |
| | 11 | | get |
| | 12 | | { |
| 657 | 13 | | return instance ??= new AssetPromiseKeeper_GLTFast_Instance(); |
| | 14 | | } |
| | 15 | | } |
| | 16 | |
|
| 24 | 17 | | public AssetPromiseKeeper_GLTFast_Instance() : base(new AssetLibrary_GLTFast_Instance()) { } |
| | 18 | |
|
| | 19 | | protected override void OnSilentForget(AssetPromise_GLTFast_Instance promise) |
| | 20 | | { |
| 0 | 21 | | promise.asset.Hide(); |
| 0 | 22 | | } |
| | 23 | | } |
| | 24 | | } |