欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

unity各平台路径

程序员文章站 2022-04-03 22:18:00
...
	    #if UNITY_ANDROID
        _abPath = "jar:file://" + Application.dataPath + "!/assets/AssetBundles/";
        #elif UNITY_IPHONE
        _abPath = Application.dataPath + "/Raw/AssetBundles/";
        #elif UNITY_STANDALONE_WIN || UNITY_EDITOR
        _abPath = Application.dataPath + "/AssetBundles/";
        #else
        _abPath = string.Empty;
        #endif
相关标签: 项目笔记 unity