Application.dataPathstatic var dataPath : StringDescriptionContains the path to the game data folder (Read Only). The value depends on which platform you are running on:
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { print(Application.dataPath); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): print(Application.dataPath) |
