摘要:
这里介绍一种对象池的写法。它的优点在于无论取出还是插入游戏物体都是常数量时间。 using UnityEngine; using System.Collections; using System.Collections.Generic; //对象池 public class GameObjectPo 阅读全文
摘要:
StretchBlt函数直接对图片进行放大,缩小,显示位置变换。 这个函数有两种形态一种全局函数是这样的: BOOL StretchBlt(HDC hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest 阅读全文