發表文章

can't load gameobject in runtime from datapersistentpath

圖片
up vote 0 down vote favorite I have A directory in the dataPersistentPath, the name of directory is "FBXFiles". so the access is: Path.Combine(Application.persistentDataPath, "FBXFiles"); I want to load all of the files in this directory as GameObjects (or UnityEngine.Object) One more thing, this application is for hololens, so I can't use the UnityEditor namespace... How can I do that? I've tried with assetBundle but no luck...how can I do it at runtime...? c# unity3d hololens share | improve this question asked yesterday Nadav 17 6 ...