找回密码
 点一下
查看: 1157|回复: 1

自定义代码

[复制链接]
发表于 2007-8-3 09:29:00 | 显示全部楼层 |阅读模式
请问``自定义代码是什么?
自定义代码;local location udg_Point = null
自定义代码; call RemoveLocation(udg_Point)

自定义代码; set udg_Point = null


怎样使用``我想学
发表于 2007-8-3 14:06:21 | 显示全部楼层
自定义代码其实就是在T里写J。
这3条是为了处理内存泄漏问题设置的。
自定义代码;local location udg_Point = null

这个是放在动作的最上面,声明一个局域变量,类型为点,名字udg_point,初始值为无。
自定义代码; call RemoveLocation(udg_Point)

删除一个点,目标是叫udg_point的点变量。
自定义代码; set udg_Point = null

设置变量udg_point的值为无。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-27 13:08 , Processed in 0.130484 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表