Unity中Resources.LoadAssetAtPath JS和C#的不同写法
摘要:
JS版本:1var prefab : GameObject = Resources.LoadAssetAtPath("Assets/Artwork/mymodel.fbx", GameObject);C#版本:1GameObject prefab = (GameObject)Resources.LoadAssetAtPath("Assets/Artwork/mymodel.fbx", typeof... 阅读全文
posted @ 2010-10-19 10:10 废铁 阅读(473) 评论(0) 推荐(0) 编辑