ro Standard Assets" or "
lugins" are compiled first.
ro Standard Assets"或"
lugins"文件夹里的脚本会被首先编译
ro Standard Assets/Editor" or "
lugins/Editor" are compiled first.
ro Standard Assets/Editor"或"
lugins/Editor"文件夹里的脚本会被首先编译
lugins" folder. 2. Take advantage of JavaScript's dynamic typing. In Javascript you don't need to know the type of a class to work with it. When using GetComponent you can just use a string instead of the type. You can also use SendMessage, which takes a string.
lugins"文件夹.2.利用JavaScript动态类型.在JavaScript你不需要知道类的类型,你可以使用GetComponent,因为它的参数可以只是个字符串而不需要指定类型.你也能使用SendMessage,它也可以只使用一个字符串.| 欢迎光临 纳金网 (http://go.narkii.com/club/) | Powered by Discuz! X2.5 |