Loads asset to the Content Pool and holds it until it won't be referenced by any object. Returns null if asset is missing. Actual asset data loading is performed on a other thread in async. Asset unique ID. Type of the asset to load. Includes any asset types derived from the type. Asset instance if loaded, null
(Guid id)
| 42 | /// <typeparam name="T">Type of the asset to load. Includes any asset types derived from the type.</typeparam> |
| 43 | /// <returns>Asset instance if loaded, null otherwise.</returns> |
| 44 | public static T LoadAsync<T>(Guid id) where T : Asset |
| 45 | { |
| 46 | return (T)LoadAsync(id, typeof(T)); |
| 47 | } |
| 48 | |
| 49 | /// <summary> |
| 50 | /// Loads asset to the Content Pool and holds it until it won't be referenced by any object. Returns null if asset is missing. Actual asset data loading is performed on a other thread in async. |
nothing calls this directly
no test coverage detected