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

原文地址:https://www.cnblogs.com/01zxs/p/11061419.html