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 :: itextsharp landscape a4 
Csharp :: unity game sleep on hit 
Csharp :: asp.net core 3.1: cast jObject to dictionary<string,string 
Csharp ::  
::  
Csharp :: keyboard input unity 
Csharp :: how to change rotate with script unity 
Csharp :: untiy delet ke 
Csharp :: how to set image Source in the code C# 
Csharp :: unity c# set list to set active true 
Csharp :: ef core dbfirst 
Csharp :: how to find how much digits in number c# 
:: how to make a dragable object in unity2D 
Csharp :: serializefield for animator 
Csharp :: c# conver date utc to cst 
Csharp :: wpf make both rich Text scroll 
Csharp :: c# get property using string 
Csharp :: animations for pause menu 
Csharp :: hello in c# 
Csharp :: removing illlegal char from filename 
Csharp :: avoid autocomplete input text asp.net 
:: c# ascii to char 
Csharp :: get item from icollection 
Csharp :: unity knowing when 0 input is pressed 
Csharp ::  
Csharp :: c# paste from clipboard 
Csharp :: c# get month number from name 
Csharp :: prettier c# 
Csharp :: clear textbox winform 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =