Представленный на экране скрипт поможет сделать вашу игру больше и серьезнее! =)
123456789101112131415using UnityEngine;
using System.Collections;
public class SeriousShooterMemoryManagement : MonoBehaviour
{
int[] test;
int user_mem;
int mb = 1024 * 1024 / 4;
void Awake()
{
user_mem = (int)(SystemInfo.systemMemorySize * 0.25f*mb);
Debug.Log(user_mem);
test = new int[user_mem];
}
}