8 lines
234 B
C#
8 lines
234 B
C#
using UnityEngine;
|
|
|
|
// This is an interface. Any script that uses this MUST have an Interact function.
|
|
public interface IInteractable
|
|
{
|
|
void Interact();
|
|
string GetDescription(); // Useful for UI text like "Press E to Switch"
|
|
} |