1234567891011121314151617181920 |
- namespace ShadowStudio.Model
- {
- /// <summary>
- /// 预制体继承modelPlayer
- /// </summary>
- public class PrefabPlayer : ModelPlayer
- {
- private string containerName;
- public PrefabPlayer(string containerName)
- {
- this.containerName = containerName;
- }
- public override ArtContainer CreateContainer()
- {
- return ArtInfoMgr.Instance.CreateContainer(Info.ArtType, containerName);
- }
- }
- }
|