这里只介绍和插件编写比较有关的几个函数. 详细的Lua手册请参照Lua Reference Manual 5.1.assert(value) - 检查一个值是否为非nil, 若不是则(如果在wow.exe打开调试命令)显示对话框以及输出错误调试信息collectgarbage() - 垃圾收集器. ...
分类:
其他好文 时间:
2015-07-29 11:58:32
阅读次数:
146
ARC(automatic reference counting)机制判断是否是ARC机制ARC机制中不能使用retain release autorelease retainCount在dealloc方法中不能使用 [super dealloc];在ARC下对象释放的判断依据:对象没有强指针指向指...
分类:
其他好文 时间:
2015-07-28 22:34:03
阅读次数:
190
using UnityEngine;
namespace CompleteProject
{
public class GameOverManager : MonoBehaviour
{
public PlayerHealth playerHealth; // Reference to the player's health.
...
分类:
其他好文 时间:
2015-07-28 21:20:21
阅读次数:
96
reference: http://djangobook.py3k.cn/2.0/chapter01/chapter 1: modeles.py “模型”,和数据库相关 views.py 页面的业务逻辑,含有 视图函数 url.py 什么样的 URL 调用什么的视图 xxx.html html模板
分类:
其他好文 时间:
2015-07-28 20:53:36
阅读次数:
95
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapData.htmlhttp://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf35...
分类:
其他好文 时间:
2015-07-28 20:18:36
阅读次数:
129
Because INVOKESPECIAL will consume value created by NEW from the operand stack, but you may need to actually use this value, so the reference is dupli...
分类:
编程语言 时间:
2015-07-27 13:01:43
阅读次数:
196
assign: 简单赋值,不更改索引计数(Reference Counting)。? copy: 建立一个索引计数为1的对象,然后释放旧对象? retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1?使用assig...
分类:
其他好文 时间:
2015-07-26 21:07:48
阅读次数:
117
using UnityEngine;
namespace CompleteProject
{
public class EnemyManager : MonoBehaviour
{
public PlayerHealth playerHealth; // Reference to the player's heatlh.
public ...
分类:
其他好文 时间:
2015-07-25 16:52:27
阅读次数:
154
java中基本类型与装箱基本类型“==”比较出现的几种情况java有一个类型系统有两部分组成,包含基本类型(primitive),例如:int、double等,还有引用类型(reference type),例如:String、List。每个基本类型都有一个对应的引用类型,称为装箱基本类型(boxed promitive)。装箱基本类型中对应于int、double的是Integer、Double。...
分类:
编程语言 时间:
2015-07-24 18:17:10
阅读次数:
125
Linux 下编程出现undefined reference to...原因分析:1、链接时缺失了相关目标文件(.o)2、链接时缺少相关的库文件(.a/.so)3. 链接的库文件中又使用了另一个库文件4 多个库文件链接顺序问题在链接命令中给出所依赖的库时,需要注意库之间的依赖顺序,依赖其他库的库一定...
分类:
其他好文 时间:
2015-07-24 15:52:20
阅读次数:
108