FinishRam() { if ((getGlobalRamSize() - Ram.Count) < 0) { Debug.LogWarning(getLogTag() + " Ram size overflow"); } else if ((getGlobalRamSize() - Ram.Count) == 0) { // ram size fit return; } else if ((getGlobalRamSize() - Ram.Count) > 0) { // ram size underflow Ram.AddRange(new float[getGlobalRamSize() - Ram.Count]); } }