Simple Buy Item Logic

This commit is contained in:
brausjonas
2023-03-02 22:57:11 +01:00
parent d114520349
commit 62ca8b3cef
21 changed files with 3374 additions and 166 deletions
+8 -4
View File
@@ -4,8 +4,12 @@ using UnityEngine;
public class ItemShop : MonoBehaviour
{
[SerializeField] private GameObject Layout2;
[SerializeField] private GameObject LayoutItemShop;
[SerializeField] private Client client;
[SerializeField] private UIItem[] items;
public static Player currentPlayer = null;
public void Init(Player _currentPlayer)
{
currentPlayer = _currentPlayer;
}
}