From a1dd3f01519383c1003b4b7b06119e6204467d05 Mon Sep 17 00:00:00 2001 From: Fangh Date: Thu, 1 Feb 2024 22:49:50 +0100 Subject: [PATCH] chore: delete unused file --- Assets/Scripts/ShowPlayerVote.cs | 41 --------------------------- Assets/Scripts/ShowPlayerVote.cs.meta | 11 ------- 2 files changed, 52 deletions(-) delete mode 100644 Assets/Scripts/ShowPlayerVote.cs delete mode 100644 Assets/Scripts/ShowPlayerVote.cs.meta diff --git a/Assets/Scripts/ShowPlayerVote.cs b/Assets/Scripts/ShowPlayerVote.cs deleted file mode 100644 index 5cceba7..0000000 --- a/Assets/Scripts/ShowPlayerVote.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using TMPro; -using UnityEngine; - -public class ShowPlayerVote : MonoBehaviour -{ - - public List playersPrefab = new List(); - - // Start is called before the first frame update - void Start() - { - - } - - // Update is called once per frame - void Update() - { - - } - - public void ShowBlockWithPlayerName(List _votedPlayers) - { - if (playersPrefab.Count < _votedPlayers.Count) return; - - for(int i =0; i < _votedPlayers.Count; i++) - { - Player player = _votedPlayers[i]; - if(player != null) - { - playersPrefab[i].SetActive(true); - playersPrefab[i].GetComponentInChildren().text = player.name; - } - } - } - - - - -} diff --git a/Assets/Scripts/ShowPlayerVote.cs.meta b/Assets/Scripts/ShowPlayerVote.cs.meta deleted file mode 100644 index 3909a34..0000000 --- a/Assets/Scripts/ShowPlayerVote.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05b4874bb9b57a54b970657c1f84d653 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: