mirror of
https://github.com/DerTyp7/fps-citybuild-unity.git
synced 2025-10-29 20:22:08 +01:00
19 lines
362 B
C#
19 lines
362 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class Building : MonoBehaviour
|
|
{
|
|
public string title = "New Building";
|
|
public string description = "A cool new building";
|
|
|
|
public enum BuildingType
|
|
{
|
|
Housing,
|
|
Storage,
|
|
Decoration
|
|
}
|
|
|
|
public BuildingType buildingType;
|
|
}
|