ArtVideoPlayer.cs 693 B

12345678910111213141516171819202122232425
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace ShadowStudio.Model
  5. {
  6. public class ArtVideoPlayer : PictruePlayer
  7. {
  8. public override bool IsNeedLoad()
  9. {
  10. if (Info.InstaceType == InstaceType.References || Info.InstaceType == InstaceType.ResourceLoad || Info.ArtType == ArtType.Movies)
  11. {
  12. return true;
  13. }
  14. return false;
  15. }
  16. //public override bool IsNeedInstance()
  17. //{
  18. // if (Info.InstaceType == InstaceType.ExtralURLDownload)
  19. // {
  20. // return false;
  21. // }
  22. // return true;
  23. //}
  24. }
  25. }