UriLoadCustomContextData.cs 547 B

123456789101112131415161718
  1. using UnityEngine.Networking;
  2. namespace TriLibCore
  3. {
  4. /// <summary>Represents a class passed as the custom data to the Asset Loader Context when loading Models from URIs (Network).</summary>
  5. public class UriLoadCustomContextData
  6. {
  7. /// <summary>
  8. /// The unity web request used to load the models.
  9. /// </summary>
  10. public UnityWebRequest UnityWebRequest;
  11. /// <summary>
  12. /// The optional custom data used to load the models.
  13. /// </summary>
  14. public object CustomData;
  15. }
  16. }