This repository has been archived on 2024-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
sota/RunningLateGame/Assets/Scripts/CommonInteractable.cs

25 lines
569 B
C#

/*
* authors: mark joshwel, ryan lin
* date: 10/8/2024
* description: common interactable behaviour class
*/
using UnityEngine;
/// <summary>
/// base behaviour class for interactable objects
/// </summary>
public class CommonInteractable : MonoBehaviour
{
/// <summary>
/// the prompt to display when the player is looking at the object
/// </summary>
public string interactionPrompt = "";
/// <summary>
/// skeleton function for interacting with the object
/// </summary>
public virtual void Interact()
{
}
}