Item Selector

This commit is contained in:
brausjonas
2023-03-04 01:14:26 +01:00
parent fd0a36ccb7
commit 194a84ad01
9 changed files with 1063 additions and 8 deletions
@@ -28,6 +28,8 @@ public class PlayablePlayer : Player
public Client client;
private static PlayablePlayer instance;
public override void Init()
{
TMP_Text[] playerTexts = GetComponentsInChildren<TMP_Text>();
@@ -37,9 +39,15 @@ public class PlayablePlayer : Player
QualitySettings.vSyncCount = 0;
Application.targetFrameRate = 61;
diceScript = dice.GetComponent<Dice>();
instance = this;
}
public static PlayablePlayer GetCurrentInstance()
{
return instance;
}
private void Update()
{
/*