gameManager not usefull
This commit is contained in:
parent
141b179a5f
commit
fa70ac7288
@ -38,8 +38,6 @@ public void UploadPhoto(string roomCode, string playerId, int question, int prop
|
|||||||
{
|
{
|
||||||
Texture2D photo = cameraManager.GetPhoto();
|
Texture2D photo = cameraManager.GetPhoto();
|
||||||
byte[] photoBytes = ImageConversion.EncodeToJPG(photo);
|
byte[] photoBytes = ImageConversion.EncodeToJPG(photo);
|
||||||
|
|
||||||
GameManager game = gameObject.GetComponent<GameManager>();
|
|
||||||
string imageUuid = Guid.NewGuid().ToString();
|
string imageUuid = Guid.NewGuid().ToString();
|
||||||
|
|
||||||
StorageReference imageRef = storage.Child($"{roomCode}/{playerId}/{imageUuid}.png");
|
StorageReference imageRef = storage.Child($"{roomCode}/{playerId}/{imageUuid}.png");
|
||||||
|
Loading…
Reference in New Issue
Block a user