摘要
近年来,Unity3D游戏引擎已经成为手机游戏行业最为流行的制作平台之一,但是很多游戏都存在卡顿,耗电速度快,占用内存过多等现象,影响了玩家体验。Unity的内存分为程序代码段,托管堆和本机堆。本篇论文重点讨论了在这三种内存上优化的方案,以及一些经验和技巧。通过内存优化,可以有效的提升内存的利用率,减少内存碎片和占用的空间。这样的方法有效的减少了像智能手机这样内存空间十分有限的移动设备负担,提高了开发效率,增强了玩家游戏体验。
In recent years, Unity3D game engine has become one of the most popular platforms in mobile game industry, but lots of games exist the problem that including bad feedback, power consumption too fast, too much memory occupation, which impulse a bad affect on user experience. The memory of Unity is divided into program code, the managed heap and native heap. This paper mainly discussed the strategy, experience and skills in memory optimization. Which can effectively improve memory utilization, have less memory fragmentation and occupation. This method effectively reduces the memory burden in the device like smart phone which have a very limited memory space, improved the development efficiency, and enhanced the gaming experience.
出处
《中国传媒大学学报(自然科学版)》
2016年第5期56-61,共6页
Journal of Communication University of China:Science and Technology