public 变量 一经修改会保存值,相当于static 变量,在editor 模式下每次run之后变量会记住editor下设置的值
private 每次run 变量都会初始化,如果是float类型,默认初始值为0
posted on 2013-03-23 17:34 pengyingh 阅读(896) 评论(0) 收藏 举报