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

16 lines
435 B
C#
Raw Normal View History

2026-03-31 19:39:04 +07:00
using UnityEngine;
[CreateAssetMenu(fileName = "ObjectInteraction", menuName = "Scriptable Objects/ObjectInteraction")]
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
}