Unity3D and C#
Here are some guidelines and resources for getting started quickly in Unity. There are many other possible videos, but we have gone through these and think they contain most of the basics you will need to understand.
-
- Downloading Unity3D (includes Visual Studio)
- For Mac, Windows and Ubuntu
- Make sure you get the free version "Personal Links to an external site." (their website is sometimes a bit messy in an assumed effort to sell the non-free version)
- https://unity.com Links to an external site. (general info)
- https://unity.com/download Links to an external site. (download instructions)
- Note that we will be using version Unity 6 (6000.0.32f1) LTS in this course, and that the "Unity Hub" allows you to keep several Unity versions installed at the same time and smoothly switch between them
- Optional: Strongly recommend Rider Links to an external site. as your code editor! You can get it free at KTH.
- For Mac, Windows and Ubuntu
- Learning C#
- Learning Unity3D
- A short overview of the Unity editor Links to an external site.
- Excellent 17 min intro to Unity (including Unity Hub) (good but from 2020 so newer releases exist)
Links to an external site.
- A good summary about Scripts and Components - Same playlist as Beginner C# Links to an external site. (Recommend the first video for Understanding Components. The other topics in the playlist are nice if C# is confusing you)
- Physics in Unity. Take a look if you want to set up your own custom test scenarios.
- MLAgents for Reinforcement Learning. If you want to try RL.
- Decent tutorial video of the main features Links to an external site.
- I also strongly suggest reading the MLAgents documentation if you are interested in the details. I would start with the following links in the order given (same links as Slide materials).
- Getting Started Links to an external site.
- Configuring Agents and Training. Links to an external site.
- Possible configurations to the built-in trainers. Links to an external site.
- Building an executable and running multiple copies, for faster training. Links to an external site.
- Python API. Can be used for a custom trainer or any custom solution if you want to develop in Python. Links to an external site.
- Downloading Unity3D (includes Visual Studio)