22 lines
574 B
C#
22 lines
574 B
C#
using UnityEngine;
|
|
|
|
namespace VRShopping.Data.Food
|
|
{
|
|
[CreateAssetMenu(fileName = "FoodData", menuName = "VR Shopping/Food Data", order = 1)]
|
|
public class FoodData : ScriptableObject
|
|
{
|
|
[Header("Identity")]
|
|
public string FoodId;
|
|
public string DisplayName;
|
|
|
|
[Header("Effect")]
|
|
// 0~100 스케일 기준 회복량
|
|
[Min(0f)] public float HungerRestoreAmount = 20f;
|
|
|
|
[Header("Visuals/Audio")]
|
|
public GameObject SamplePrefab;
|
|
public ParticleSystem EatVfx;
|
|
public AudioClip EatSfx;
|
|
}
|
|
}
|