UnityCookbooks - hpepper/henpep-dev-tools GitHub Wiki
- cmd+' : Load help page for function
Setingup
set up Xbox dev end:
- https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/getting-started
- https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/development-environment-setup
Set-up Android studio
-
http://abhiandroid.com/androidstudio/change-api-sdk-level-android-studio.html
-
SDK location: You can find the path going into Android Studio -> Configure -> SDK Manager -> On the top left it should say SDK Path.
-
NDK location: go to "File" menu, than "Project Structure->SDK Location" and set the Android NDK Location (it is at the bottom of the window).
Xbox one dev
Target platforms
Devloping for Xbox one
-
https://forum.unity.com/threads/your-unity-games-and-xaml-how-many-of-you-actually-use-it.369950/
-
http://www.ign.com/wikis/xbox-one/PS4_vs._Xbox_One_Native_Resolutions_and_Framerates
-
Resolution: 1920x1080p
Game training
2D
-
Update: Every frame
-
LateUpdate: Every frame, but after all items has been processed in update
2D Components
Sprites
-
The order in layer property: As with sorting layers, the rule is that lower numbers are rendered first and can be obscured by the higher numbers rendered later. https://docs.unity3d.com/Manual/class-SpriteRenderer.html
Troubleshooting
Unable to list target platforms.
Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for details.
Set JAVA_HOME https://www.mkyong.com/java/how-to-set-java_home-on-windows-10/
C:/Program Files/Android/Android Studio/jre as defined in the Android studio and Unity preference
NDK 16.1.4479499 is incompatible with IL2CPP.
NDK 16.1.4479499 is incompatible with IL2CPP. IL2CPP requires r13b(64-bit)(13.1.3345770)
click the Download and unpack the .zip to D:\UnityNdk