16 lines
435 B
C#
16 lines
435 B
C#
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "ObjectInteraction", menuName = "Scriptable Objects/ObjectInteraction")]
|
|
public class ObjectInteraction : ScriptableObject
|
|
{
|
|
[Header("UI Settings")]
|
|
public string promptText = "Interact";
|
|
|
|
[Header("Audio & Visuals")]
|
|
public AudioClip interactionSound;
|
|
public GameObject interactionVFX;
|
|
|
|
[Header("Settings")]
|
|
public float interactionCooldown = 0.5f;
|
|
}
|