Application.dataPath points to /Assets

If you need a quick handle on the Assets folder in the Editor then you can simply use:

// Returns <path to project folder>/Assets
string pathToAssetsWithoutEndingSlash = Application.dataPath;

If all you need is the project path without "/Assets" then use this:

string pathToProjectWithoutEndingSlash = Application.dataPath.Substring(0, Application.dataPath.LastIndexOf('/'));

Asset Recommendations

Here are some free and paid assets I think may be useful to you. If you get one of them then a small part of the money you spend will also help fund this project. Thank you.

Disclosure: This text may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help fund this project! The links are created by Unity and Partnerize (Unity's affiliate partner).

Interesting Articles

Let the AI write the code

AIs have been all the rage for a while now. And rightfully so. Language AIs like ChatGPT are powerful tools and they are here to stay.
Read article ..