gameManager not usefull

This commit is contained in:
Michel Roux 2024-01-28 16:39:05 +01:00
parent 141b179a5f
commit fa70ac7288

View File

@ -38,8 +38,6 @@ public void UploadPhoto(string roomCode, string playerId, int question, int prop
{
Texture2D photo = cameraManager.GetPhoto();
byte[] photoBytes = ImageConversion.EncodeToJPG(photo);
GameManager game = gameObject.GetComponent<GameManager>();
string imageUuid = Guid.NewGuid().ToString();
StorageReference imageRef = storage.Child($"{roomCode}/{playerId}/{imageUuid}.png");