//--------------------------------------------------------------------- public string getWWWStreamingAssetsPath() { string assetbundlePath = #if UNITY_EDITOR "file:///" + Application.streamingAssetsPath; #elif UNITY_IPHONE "file:///" + Application.streamingAssetsPath; #elif UNITY_ANDROID "jar:file://" + Application.dataPath + "!/assets"; #endif assetbundlePath += "/" + EditorModeRunsourcesPlatform.ToString(); return(assetbundlePath); }
//--------------------------------------------------------------------- public string getStreamingAssetsPath() { string assetbundlePath = #if UNITY_EDITOR Application.streamingAssetsPath; #elif UNITY_IPHONE Application.streamingAssetsPath; #elif UNITY_ANDROID Application.streamingAssetsPath; #endif assetbundlePath += "/" + EditorModeRunsourcesPlatform.ToString(); return(assetbundlePath); }