using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; using UnityEngine.UI; public enum WaterSupplyCalculationType { ShiJiYongShuiLiang, ShuiQiangShuLiang, GongShuiNengLi } public class WaterConsumptionPanel : UIView { public WaterSupplyCalculationType WSCType; //用水量 public Toggle YongShuiLiangToggle; //水枪数量 public Toggle ShuiQiangShuLiangToggle; //供水能力 public Toggle GongShuiNengLiToggle; //用水量面板 public GameObject YongShuiLiangPanel; //水枪数量面板 public GameObject ShuiQiangShuLiangPanel; //供水能力面板 public GameObject GongShuiNengLiPanel; public Button CalculationButton; public Button ClearButton; public YongShuiLiangCalculation YSLCalculation; public ShuiQiangCalculation SQCalculation; public GongShuiNengLiCalculation GSNLCalculation; public override void Awake() { base.Awake(); transform.Find("TitleBar/CloseButton").GetComponent