RoleCustomBoneData.cs 865 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace MetaClient
  5. {
  6. public class RoleCustomData
  7. {
  8. public Dictionary<int, PartData> bodyList;
  9. public Dictionary<int, PartData> faceList;
  10. public RoleCustomData ()
  11. {
  12. bodyList = new Dictionary<int, PartData>();
  13. faceList = new Dictionary<int, PartData>();
  14. }
  15. }
  16. public class PartData
  17. {
  18. public EditableBodyPart part;
  19. public ModifyType modifyType;
  20. public float floatValue;
  21. public Vector3 vecValue;
  22. public string pathValue;
  23. public PartData(EditableBodyPart p, ModifyType type)
  24. {
  25. part = p;
  26. modifyType = type;
  27. floatValue = 1;
  28. vecValue = Vector3.zero;
  29. pathValue = "";
  30. }
  31. }
  32. }