ModelData.cs 536 B

1234567891011121314151617181920212223
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Sirenix.OdinInspector;
  5. namespace KairoEngine.CharacterSystem
  6. {
  7. public enum ModelType
  8. {
  9. MaleBody,
  10. FemaleBody
  11. }
  12. [CreateAssetMenu(fileName = "ModelData", menuName = "KairoEngine/ModelData", order = 6)]
  13. public class ModelData : SerializedScriptableObject
  14. {
  15. public ModelType modelType;
  16. public Mesh mesh;
  17. public List<Material> materials;
  18. public string skinRig = "Rig 1";
  19. }
  20. }