2026-04-28 왼쪽 손목에 포만감 배치
This commit is contained in:
21
Assets/02_Scripts/Data/Food/FoodData.cs
Normal file
21
Assets/02_Scripts/Data/Food/FoodData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
2
Assets/02_Scripts/Data/Food/FoodData.cs.meta
Normal file
2
Assets/02_Scripts/Data/Food/FoodData.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0340c993b89f79d4295b22c393b0928c
|
||||
Reference in New Issue
Block a user