包含了按钮动作码常量 button action code constants
所有这些方法和常量应该会使得对按钮事件做出响应更加容易。
All these methods and constants should make responding to button events easier.
因为我们打算将这个脚本剪贴到每个Set按钮中,并且脚本之间的惟一区别就是属性名,因此将在脚本的开始部分的一个常量中声明。
Because we plan to cut and paste this script into each Set button and because the only difference between them is the property name, we declare this in a constant at the top of the script.
单击此按钮可添加一个新常量。
应用推荐