mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-10-30 04:27:09 +01:00
19 lines
397 B
C#
19 lines
397 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class Interactable : MonoBehaviour
|
|
{
|
|
public enum InteractionType //Interaction Types (Enum heißt enumeration also Aufzählung)
|
|
{
|
|
Click,
|
|
Hold
|
|
}
|
|
|
|
public InteractionType interactionType;
|
|
|
|
public abstract string GetDescription();
|
|
public abstract void Interact();
|
|
|
|
}
|