mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-30 21:07:09 +01:00
Added Documentation
This commit is contained in:
@@ -2,8 +2,9 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class TreeInteraction : Interactable
|
||||
public class TreeInteraction : Harvestable
|
||||
{
|
||||
|
||||
public override string GetDescription()
|
||||
{
|
||||
if (isInRange())
|
||||
@@ -13,9 +14,6 @@ public class TreeInteraction : Interactable
|
||||
}
|
||||
public override void Interact()
|
||||
{
|
||||
if (isInRange())
|
||||
Debug.Log("AaaaaaaaaaAaAAaAaAAaAaAaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
|
||||
else
|
||||
Debug.Log("Tree is not in range");
|
||||
Debug.Log("Harvest BAUM");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user