mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-29 12:32:09 +01:00
17 lines
329 B
C#
17 lines
329 B
C#
using UnityEngine;
|
|
|
|
public class TreeInteraction : Harvestable
|
|
{
|
|
|
|
public override string GetDescription()
|
|
{
|
|
if (isInRange())
|
|
return "Baum muss weg";
|
|
else
|
|
return "Tree is not in range";
|
|
}
|
|
public override void Interact()
|
|
{
|
|
Debug.Log("Harvest BAUM");
|
|
}
|
|
} |