MyAircraftData.cs 891 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //------------------------------------------------------------
  2. // Game Framework
  3. // Copyright © 2013-2021 Jiang Yin. All rights reserved.
  4. // Homepage: https://gameframework.cn/
  5. // Feedback: mailto:ellan@gameframework.cn
  6. //------------------------------------------------------------
  7. using System;
  8. using UnityEngine;
  9. namespace MetaClient
  10. {
  11. [Serializable]
  12. public class MyAircraftData : AircraftData
  13. {
  14. [SerializeField]
  15. private string m_Name = null;
  16. public MyAircraftData(int entityId, int typeId)
  17. : base(entityId, typeId, CampType.Player)
  18. {
  19. }
  20. /// <summary>
  21. /// 角色名称。
  22. /// </summary>
  23. public string Name
  24. {
  25. get
  26. {
  27. return m_Name;
  28. }
  29. set
  30. {
  31. m_Name = value;
  32. }
  33. }
  34. }
  35. }