zoukankan      html  css  js  c++  java
  • Unity3d中相应各平台Path

    IOS:
    Application.dataPath :                      Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data
    Application.streamingAssetsPath :   Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/Data/Raw
    Application.persistentDataPath :      Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Documents
    Application.temporaryCachePath :   Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Library/Caches

    Android:
    Application.dataPath :                         /data/app/xxx.xxx.xxx.apk
    Application.streamingAssetsPath :      jar:file:///data/app/xxx.xxx.xxx.apk/!/assets
    Application.persistentDataPath :         /data/data/xxx.xxx.xxx/files
    Application.temporaryCachePath :      /data/data/xxx.xxx.xxx/cache


    Windows:
    Application.dataPath :                         /Assets
    Application.streamingAssetsPath :      /Assets/StreamingAssets
    Application.persistentDataPath :         C:/Users/xxxx/AppData/LocalLow/CompanyName/ProductName
    Application.temporaryCachePath :      C:/Users/xxxx/AppData/Local/Temp/CompanyName/ProductName


    Mac:
    Application.dataPath :                         /Assets
    Application.streamingAssetsPath :      /Assets/StreamingAssets
    Application.persistentDataPath :         /Users/xxxx/Library/Caches/CompanyName/Product Name
    Application.temporaryCachePath :      /var/folders/57/6b4_9w8113x2fsmzx_yhrhvh0000gn/T/CompanyName/Product Name



    Windows Web Player:

    Application.dataPath :             file:///D:/MyGame/WebPlayer (即导包后保存的目录,html文件所在目录)
    Application.streamingAssetsPath :
    Application.persistentDataPath :
    Application.temporaryCachePath :

  • 相关阅读:
    让 awesome , emacs , fcitx 一起工作(为awesome添加环境变量,和开机运行脚本)
    告别windows
    使用 Emacs PO mode 编辑 django PO 文件
    [转] Awesome autostart. [为awesome 设置环境变量]
    让 awesome 支持双屏
    解决长email在表格td中不自动换行的问题 & CSS强制不换行
    使用pdb (ipdb) 调试 python 程序
    ClickOnce 部署概述
    SQL Server 2005 CE基础概要
    运算符优先级 (TransactSQL)
  • 原文地址:https://www.cnblogs.com/slgkaifa/p/6933981.html
Copyright © 2011-2022 走看看