всякое новое дерьмо, уже не важно
This commit is contained in:
@@ -69,7 +69,7 @@ public class QRCodeReader : MonoBehaviour
|
||||
scaleY = camTexture.videoVerticallyMirrored ? -1f : 1f;
|
||||
rawImage.rectTransform.localScale = new Vector3(1f, scaleY, 1f);
|
||||
}
|
||||
else if(Application.platform == RuntimePlatform.IPhonePlayer)
|
||||
else
|
||||
{
|
||||
ratio = (float)camTexture.height / (float)camTexture.width;
|
||||
rawImage.rectTransform.localScale = new Vector3(1f, -1f, 1f);
|
||||
|
||||
Reference in New Issue
Block a user