bug fixes

This commit is contained in:
DerTyp187
2021-09-25 19:25:18 +02:00
parent 904b534695
commit 880e5a2424
98 changed files with 4080 additions and 243 deletions

View File

@@ -0,0 +1,24 @@
using UnityEngine;
public class BuildingSign : Interactable
{
private Building parentBuilding;
private void Start()
{
parentBuilding = this.transform.parent.gameObject.GetComponent<Building>();
}
public override string GetDescription()
{
return "Press [E] to get <color=blue>info</color>.";
}
public override void Interact()
{
Debug.Log(parentBuilding.GetTitle());
Debug.Log("interact");
}
}