layer"))
layer"))
ro Standard Assets" 或 "
lugins"的脚本被首先编译。
ro Standard Assets/Editor" 或 "
lugins/Editor"的脚本被首先编译。
lugins"文件夹 2、利用JavaScript的动态类型,在javascript中你不需要知道类的类型。在使用GetComponent时你可以使用字符串而不是类型。你也可以使用SendMessage,它使用一个字符串。
ro
lugins")。这允许你让不同的脚本语言互操作。例如,如果你想创建一个JavaScript。它使用一个C#脚本;放置C#脚本到"Standard Assets"文件夹并且JavaScript放置在"Standard Assets"文件夹之外。现在JavaScript可以直接引用c#脚本。| 欢迎光临 纳金网 (http://go.narkii.com/club/) | Powered by Discuz! X2.5 |