인터랙션 및 액션 구조 생성
기본 채광 인터랙션 생성 채광 인터랙션을 위한 인터랙션 대상인 광산 생성 Kaykit Resource 애셋 추가
This commit is contained in:
23
Assets/Scripts/InteractionEquipmentData.cs
Normal file
23
Assets/Scripts/InteractionEquipmentData.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Northbound
|
||||
{
|
||||
/// <summary>
|
||||
/// 상호작용 시 필요한 장비 정보
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class InteractionEquipmentData
|
||||
{
|
||||
[Tooltip("장비를 부착할 소켓 이름 (예: RightHand, LeftHand)")]
|
||||
public string socketName = "RightHand";
|
||||
|
||||
[Tooltip("부착할 장비 프리팹 (예: 곡괭이, 도끼)")]
|
||||
public GameObject equipmentPrefab;
|
||||
|
||||
[Tooltip("상호작용 시작 시 자동으로 부착")]
|
||||
public bool attachOnStart = true;
|
||||
|
||||
[Tooltip("상호작용 종료 시 자동으로 제거")]
|
||||
public bool detachOnEnd = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user