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 class StorageManager : MonoBehaviour
{
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");