Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity get project file directory

void Start()
    {
        //Get the path of the Levels folder from Resources
        string assetsFolderPath = Application.dataPath;
        string levelFolder = AssetsFolderPath + "/Resources/Levels";

        //Output the folder's data path to the console
        Debug.Log("dataPath : " + levelFolder);
    }
Comment

PREVIOUS NEXT
Code Example
Csharp :: add row to datagridview c# 
Csharp :: headless chromedriver C# 
Csharp :: c# unity camera follow player horizontal axis 
Csharp :: mailkit send attachment 
Csharp :: Convert Newtonsoft.Json.Linq.JArray to type System.Collections.Generic 
Csharp :: alert message in c# windows application 
Csharp :: unity how to add force 
Csharp :: c# how to convert string to int 
Csharp :: c# boiler code shortcut 
Csharp :: unity left mouse button 
Csharp :: get apps execution path with app name c# 
Csharp :: website link in unity 
Csharp :: what is the namespace for textmesh pro 
Csharp :: get all devices in game unity 
Csharp :: Considerando um projeto C# e o uso do Entity Framework, após realizar uma alteração em um registro, qual o método que deve ser chamado para salvar as 
Csharp :: c# find index element array 
Csharp :: add items to listbox from text file c# 
Csharp :: audiomixer get float 
Csharp :: c# console writeline array 
Csharp :: c# datatable copy selected rows to another table 
Csharp :: how to show a reference in unity 
Csharp :: unity pause scene 
Csharp :: unity get a position inside sphere 
Csharp :: ask for administrative permission 
Csharp :: C# check if is first run 
Csharp :: assign long value c# 
Csharp :: unity animate post processing values 
Csharp :: list string to int c# 
Csharp :: key press up unity 
Csharp :: c# string to hex 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =