| | 1 | | using UnityGLTF; |
| | 2 | |
|
| | 3 | | namespace DCL |
| | 4 | | { |
| | 5 | | public class AssetPromiseKeeper_GLTF : AssetPromiseKeeper<Asset_GLTF, AssetLibrary_GLTF, AssetPromise_GLTF> |
| | 6 | | { |
| | 7 | | private static AssetPromiseKeeper_GLTF instance; |
| 9894 | 8 | | public static AssetPromiseKeeper_GLTF i { get { return instance ??= new AssetPromiseKeeper_GLTF(); } } |
| | 9 | |
|
| 29 | 10 | | public GLTFThrottlingCounter throttlingCounter = new GLTFThrottlingCounter(); |
| 58 | 11 | | public AssetPromiseKeeper_GLTF() : base(new AssetLibrary_GLTF()) { } |
| | 12 | |
|
| | 13 | | protected override void OnSilentForget(AssetPromise_GLTF promise) |
| | 14 | | { |
| 3 | 15 | | promise.OnSilentForget(); |
| 3 | 16 | | } |
| | 17 | | } |
| | 18 | | } |