DataArrayCreationContext.cs 480 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. using TriLibCore.Interfaces;
  3. using UnityEngine;
  4. namespace TriLibCore
  5. {
  6. #if UNITY_2020_2_OR_NEWER
  7. public class DataArrayCreationContext : IAssetLoaderContext, IAwaitable
  8. {
  9. public AssetLoaderContext Context { get; set; }
  10. public IList<IModel> Models = new List<IModel>();
  11. public Mesh[] Meshes;
  12. public Mesh.MeshDataArray DataArray;
  13. public bool Completed { get; set; }
  14. }
  15. #endif
  16. }