Added unlock info to each button
This commit is contained in:
@@ -5,6 +5,7 @@ using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
using System.Linq;
|
||||
using System;
|
||||
using Fruitomation.Game.Items;
|
||||
using Fruitomation.Global;
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
|
||||
@@ -31,11 +32,16 @@ namespace Fruitomation.UI
|
||||
[SerializeField] private double Cost;
|
||||
[SerializeField] private bool BigText;
|
||||
|
||||
[Header("Unlock Info\n")]
|
||||
[SerializeField] private ItemType[] Inputs;
|
||||
[SerializeField] private ItemType[] Outputs;
|
||||
[SerializeField] private AutomationBuildingType Building;
|
||||
|
||||
[Header("References")]
|
||||
[SerializeField] private UpgradeInfoBoard UpgradeBoard;
|
||||
[SerializeField] private BasicUpgradeButton[] RequiredUpgrades;
|
||||
[SerializeField] private Material LineMaterial;
|
||||
|
||||
[Header("Lines")]
|
||||
[SerializeField] private LineInfo[] Lines;
|
||||
|
||||
private (LineRenderer, BasicUpgradeButton, LineInfo)[] UpgradeLines;
|
||||
|
||||
Reference in New Issue
Block a user