started working on Building rework

This commit is contained in:
DerTyp187
2021-10-03 18:34:14 +02:00
parent 75a6f34ece
commit 881364449b
47 changed files with 523 additions and 416 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InfoSign : 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("interact");
}
}