Is there any easy way to have version number and build index (which increment every time I build game) in Unity project? For exaple when I save project it will be saved to folder named “[project name]_[version]” (for example “EasyPlatformer_4_36”). And have that version stored in variable so I will be able to write:
about.text = "Version " + version + " build " + build.
I hope you understand what I had in mind.
You can use the Build Player Pipeline to increment your version number. You could just store a text file or ScriptableObject in your asset folder, load it, increment the number and then build how you like. If you google “Build Script” and “-Pipeline” you should find other examples. There are also open source and Asset Store tools for this. No built-in or easy method though.