Role.cs 854 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace FSRole {
  5. /*
  6. * 角色组件
  7. */
  8. public class Role : MonoBehaviour {
  9. // 角色原始属性
  10. private RoleAttr originAttr;
  11. public RoleAttr OriginAttr {
  12. set {
  13. originAttr = value;
  14. } get {
  15. return originAttr;
  16. }
  17. }
  18. // 角色当前属性
  19. private RoleAttr currentAttr;
  20. public RoleAttr CurrentAttr {
  21. set {
  22. currentAttr = value;
  23. } get {
  24. return currentAttr;
  25. }
  26. }
  27. // Use this for initialization
  28. void Start() {
  29. }
  30. // Update is called once per frame
  31. void Update() {
  32. }
  33. }
  34. }