MeshData.cs 272 B

123456789101112131415161718
  1. using System;
  2. using UnityEngine;
  3. namespace TriLib
  4. {
  5. public class MeshData : IDisposable
  6. {
  7. public void Dispose()
  8. {
  9. this.UnityMesh = null;
  10. this.SkinnedMeshRenderer = null;
  11. }
  12. public SkinnedMeshRenderer SkinnedMeshRenderer;
  13. public Mesh UnityMesh;
  14. }
  15. }