mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-29 12:32:09 +01:00
15 lines
372 B
C#
15 lines
372 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TreeInteraction : Interactable
|
|
{
|
|
public override string GetDescription() => "Baum muss schreie";
|
|
public override void Interact()
|
|
{
|
|
if(isInRange())
|
|
Debug.Log("AaaaaaaaaaAaAAaAaAAaAaAaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
|
|
}
|
|
}
|
|
|