32 lines
859 B
C#
32 lines
859 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using BITKit;
|
|
using UnityEngine;
|
|
|
|
namespace Net.Project.B.Cosmetics
|
|
{
|
|
public class ScriptableCosmetics : ScriptableObject
|
|
{
|
|
[SerializeField] private int id;
|
|
|
|
[SerializeField] private Sprite icon;
|
|
|
|
[SerializeField] private Transform model;
|
|
|
|
[SerializeReference, SubclassSelector] private IReference cosmeticsName;
|
|
|
|
[SerializeReference, SubclassSelector] private ICosmeticsClass cosmeticsClass;
|
|
|
|
[SerializeField] private HumanBodyBones bone;
|
|
|
|
public int ScriptableId => id;
|
|
public Transform Model => model;
|
|
public ICosmeticsClass CosmeticsClass => cosmeticsClass;
|
|
public Sprite Icon => icon;
|
|
public string Name => cosmeticsName.Value;
|
|
public HumanBodyBones Bone => bone;
|
|
}
|
|
|
|
}
|
|
|