sprite order & interactable

This commit is contained in:
janis
2022-02-15 10:33:57 +01:00
parent 9349fb6d72
commit 93baa58c15
5 changed files with 399 additions and 362 deletions

View File

@@ -4,7 +4,13 @@ using UnityEngine;
public class TreeInteraction : Interactable
{
public override string GetDescription() => "Baum muss schreien";
public override string GetDescription()
{
if (isInRange())
return "Baum muss schreien";
else
return "Tree is not in range";
}
public override void Interact()
{
if (isInRange())