PrefabPlayer.cs 674 B

1234567891011121314151617181920212223242526272829
  1. using DG.Tweening;
  2. using PublicTools.Unity;
  3. using ShadowStudio.Mgr;
  4. using ShadowStudio.Model;
  5. using System.Collections;
  6. using System.Collections.Generic;
  7. using UnityEngine;
  8. using XRTool.Util;
  9. namespace ShadowStudio.Model
  10. {
  11. /// <summary>
  12. /// 预制体继承modelPlayer
  13. /// </summary>
  14. public class PrefabPlayer : ModelPlayer
  15. {
  16. private string containerName;
  17. public PrefabPlayer(string containerName)
  18. {
  19. this.containerName = containerName;
  20. }
  21. public override ArtContainer CreateContainer()
  22. {
  23. return ArtInfoMgr.Instance.CreateContainer(Info.ArtType, containerName);
  24. }
  25. }
  26. }