内存管理
文章平均质量分 87
MaximilianLiu
A young man from China who want to make something great to world people in the future,now I call myself developer,programmer,homeguy,and someone unknow,LOL!
展开
-
对象池实操(一)_发射子弹简单演示
对象池实操(一)_发射子弹简单演示 先欣赏实际效果: 首先,如图配置: PoolManager脚本代码: using System.Collections; using System.Collections.Generic; using UnityEngine; public class PoolManager : MonoBehaviour { Dictiona原创 2017-10-14 21:50:14 · 871 阅读 · 0 评论 -
对象池实操(二)_对一的演示的补充_实现对象的数据重置
对象池实操(二)_对一的演示的补充_实现对象的数据重置 先看效果,主要是实现了一个重置的过程: 一共四个脚本,一个是池管理PoolManager,一个是测试管理TestManager,一个是池对象PoolObject,一个是测试对象TestObject: PoolManager脚本: using System.Collections; using System.Collecti原创 2017-10-15 16:34:51 · 442 阅读 · 0 评论