Unity stepped pit Record

Recently started learning Unity, because the level will be a little C #, Delphi, Python, three kinds are half-baked are not really.

First excluded Python, followed by delphi is my favorite, but since I can understand that it is currently the engine very old, dilphix, hge, dx and opengl no information on what system, the lack of strength can only be second best, He still write with some useful software is better delphi compiler also convenient to the phone.

C # will be a Diudiu, then from unity began.

Pit 1: unity compile Android apk problem, use version unity2019, suggesting that 25 <26.1.1 compile Android apk time online engaged in a circle, various upgrades Andrews sdk, anyway sdkmanager open, fill in an address what of, but since I was not, it was the last to know well formidable wall.

The final outcome approach:

1, xx.net over the wall, with unity hub to increase module version, which check the module Andrews, thanks to this, the download is complete modules.

2, sdkmanager visualization window is less than the maximum download this version 26.1.1, consider using android studio inside to download, or enter cmd with sdkmanager.bat version of the command line with the bat to download in cmd, premise They are needed over the wall.

3, Unity's preferences inside if you download a good first step in using the module will automatically check the version recommended sdk jdk path and so on, otherwise you will need to download a second step.

4, ue4 compile the apk same engine, but also require high sdk version a little bit, because I use the same Android sdk path to compile, two engines being given prompt exactly the same.

 

 

Followed ide:

1, you can use the default vs2015, comes with mono punch has been removed, you can also use vs2019, here is the need to pit .net development module to be checked, which is to be installed on the net core and net frame work4 .7.1, otherwise the part will not be prompted. Actually, now my vs2019 For example, some ontrigg this will not prompt, vs is suggested.

2, the first priority vscode, free, remember the Internet to search vscode + unity plugins needed, while loaded, ok. There is a problem is that there are various plug-ins let you play a function in vscode which will add another using named references, but unity without identification, so the plug is not better.

3, vs the same way and some vscode inside but affirmed that the name is not the same, such as:

vs is the method name (2d collision declare the name of 1)

vscode this is the method name (2d collision affirm name 2)

Like the method name, declare the name is not the same, but the type of collision are 2d, I am more than prompt functions, the function is the same.

Guess you like

Origin www.cnblogs.com/Lidashi/p/12212394.html