12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace MetaClient
- {
- public class RoleCustomData
- {
- public Dictionary<int, PartData> bodyList;
- public Dictionary<int, PartData> faceList;
- public RoleCustomData ()
- {
- bodyList = new Dictionary<int, PartData>();
- faceList = new Dictionary<int, PartData>();
- }
- }
- public class PartData
- {
- public EditableBodyPart part;
- public ModifyType modifyType;
- public float floatValue;
- public Vector3 vecValue;
- public string pathValue;
- public PartData(EditableBodyPart p, ModifyType type)
- {
- part = p;
- modifyType = type;
- floatValue = 1;
- vecValue = Vector3.zero;
- pathValue = "";
- }
- }
- }
|