Interactable Class

This commit is contained in:
DerTyp187
2021-09-23 20:09:12 +02:00
parent c268d0c489
commit 904b534695
331 changed files with 59287 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Interactable : MonoBehaviour
{
public enum InteractionType //Interaction Types (Enum hei<65>t enumeration also Aufz<66>hlung)
{
Click,
Hold
}
public InteractionType interactionType;
public abstract string GetDescription();
public abstract void Interact();
}