mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-31 21:27:07 +01:00
Added interaction text next to cursor
This commit is contained in:
@@ -7,8 +7,10 @@ public class TreeInteraction : Interactable
|
||||
public override string GetDescription() => "Baum muss schreie";
|
||||
public override void Interact()
|
||||
{
|
||||
if(isInRange())
|
||||
if (isInRange())
|
||||
Debug.Log("AaaaaaaaaaAaAAaAaAAaAaAaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
|
||||
else
|
||||
Debug.Log("Tree is not in range");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user