Building Rework

This commit is contained in:
DerTyp187
2021-10-07 09:35:55 +02:00
parent 4b595ad87c
commit 9efda5a8e2
44 changed files with 151 additions and 639 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");
}
}