This repository has been archived on 2025-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
Net.Like.Xue.Tokyo/Assets/Arts/Rukha93/ModularAnimeCharacter/Samples/Customization/Scripts/CustomizationSystem/CustomizationItemAsset.cs

25 lines
701 B
C#

using JetBrains.Annotations;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Rukha93.ModularAnimeCharacter.Customization
{
[CreateAssetMenu(fileName = "CustomizationItemAsset", menuName = "Rukha93/ModularAnimeCharacter/Create CustomizationAsset", order = 1)]
public class CustomizationItemAsset : ScriptableObject
{
[System.Serializable]
public struct Parentable
{
public GameObject prefab;
public HumanBodyBones targetBone;
}
[Space]
public BodyPartType[] bodyParts;
[Space]
public SkinnedMeshRenderer[] meshes;
public Parentable[] objects;
}
}