Files
flufflparty-/FlufflParty/Assets/Scripts/ItemShop.cs
T
AliIbnAbiTalib 311f141feb Server Sync
Player move on sync
2023-02-20 21:51:15 +01:00

22 lines
501 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemShop : MonoBehaviour
{
[SerializeField] private GameObject Layout2;
[SerializeField] private GameObject LayoutItemShop;
[SerializeField] private Client client;
public void buttonMoveOn()
{
Layout2.SetActive(false);
client.EventStopFinished();
}
public void buttonEnter()
{
Layout2.SetActive(false);
LayoutItemShop.SetActive(true);
}
}