Unity 打包PC和安卓的路径注意事项

if UNITY_STANDALONE_WIN || UNITY_EDITOR

            return Application.persistentDataPath + "/LocalData";

elif UNITY_ANDROID

                return Application.persistentDataPath + "/LocalData";

elif UNITY_IPHONE

                return Application.persistentDataPath + "/LocalData";

endif

posted @ 2019-06-20 21:18  激情1995  阅读(1538)  评论(0编辑  收藏  举报