<?php
mb_internal_encoding("UTF-8");
require 'db.php';
unset($_SESSION['arrayEng']);
//тут получили данные из БД и заполнили ими массив $arrayEng
$_SESSION['arrayEng'] = $arrayEng;
shuffle($arrayEng);
$array = array(
'eng0' => $arrayEng[0],
'eng1' => $arrayEng[1],
'eng2' => $arrayEng[2]
);
$json = json_encode($array, JSON_UNESCAPED_UNICODE);
echo $json;
?>
if (Application.platform == RuntimePlatform.Android)
{
hintText.text = "Точка 26 ";
if (!File.Exists(pathFile))
{
hintText.text = "Точка 27 ";
WWW load = new WWW("jar:file://" + appDataPath + "!/assets/" + "temp2.bin");
hintText.text = "Точка 28 ";
while (!load.isDone) { }
File.WriteAllBytes(pathFile, load.bytes);
hintText.text = "Точка 29 ";
}
else hintText.text = "Точка 30 ";
}
/storage/emulated/0/Android/data/имя пакета/files/temp2.bin
/data/app/имя пакета-1/base.apk
score = score + (int)Math.Ceiling(x * z);