mirror of
				https://github.com/DerTyp7/fps-citybuild-unity.git
				synced 2025-11-04 06:28:59 +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();
 | 
						|
 | 
						|
}
 |