unity3d各类OpenFileDialog操做

1 编辑模式(Editor)下: string path = EditorUtility.OpenFilePanel("Load png Textures of Directory", "", ""); WWW ww=new WWW("file:///"+path); print(ww.url); yield return ww; gui.texture=ww.texture; 2.非编辑模式:
相关文章
相关标签/搜索