2024-08-27 12:23:41 +00:00
|
|
|
using BlueWater.Uis;
|
2024-08-14 10:52:35 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace BlueWater.Tycoons
|
|
|
|
{
|
|
|
|
public class Bar : InteractionFurniture
|
|
|
|
{
|
|
|
|
[SerializeField]
|
|
|
|
private LiquidController _liquidController;
|
|
|
|
|
|
|
|
public override void Interaction()
|
|
|
|
{
|
2024-09-02 13:45:46 +00:00
|
|
|
TycoonUiManager.Instance.BarUi.Open(TycoonUiManager.Instance.PopupUiList);
|
2024-08-14 10:52:35 +00:00
|
|
|
}
|
|
|
|
|
2024-08-19 03:15:31 +00:00
|
|
|
public void ActiveIsPouring()
|
|
|
|
{
|
|
|
|
_liquidController.ActiveIsPouring();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void InActiveIsPouring()
|
|
|
|
{
|
|
|
|
_liquidController.InActiveIsPouring();
|
|
|
|
}
|
2024-08-14 10:52:35 +00:00
|
|
|
}
|
|
|
|
}
|