Files
BABA_YAGA/Assets/Scripts/GameSetup/ObjectInteraction.cs

16 lines
445 B
C#
Raw Normal View History

2026-03-31 19:39:04 +07:00
using UnityEngine;
2026-06-08 23:25:33 +07:00
[CreateAssetMenu(fileName = "ObjectInteraction", menuName = "BABA_YAGA/Scriptable Objects/ObjectInteraction")]
2026-03-31 19:39:04 +07:00
public class ObjectInteraction : ScriptableObject
{
2026-04-01 02:41:07 +07:00
[Header("UI Settings")]
public string promptText = "Interact";
2026-03-31 19:39:04 +07:00
2026-04-01 02:41:07 +07:00
[Header("Audio & Visuals")]
public AudioClip interactionSound;
public GameObject interactionVFX;
[Header("Settings")]
public float interactionCooldown = 0.5f;
2026-03-31 19:39:04 +07:00
}