It can be confusing at first to land in Unity's engine and be bombarded with jargon for things that are not immediately obvious, especially if it is your first time programming or dealing with a game engine. With this in mind, here are a few definitions to make your journey into Unity a little bit smoother.
Scripts Are text files that define behaviour of objects in code. They are coded in C#. By themselves they simply define behaviour. They need to be attached to a game object and triggered by the engine for the instructions within a script to occur. You can see scripts in the editor's project pane as white files with "C#" in blue on top of the file.
Scenes/Levels Are Unity's basic building blocks for building games. Every scene contains a hierarchy of objects, that get loaded by unity whenever the scene is loaded. You can see the contents of a Scene by looking at the inspector pane which is on the left by default. Objects in a scene may have scripts attached to them. These scripts will be run only once that scene is loaded. Scenes can be seen in the project pane as files represented by the Unity logo.
Frames are the individual images that get rendered to your monitor. A given frame is generated by the Unity engine as a view of the scene from the camera's point of view. Between generating these images, Unity gives you a chance to change the scene in your Update() functions and similar. Unity will in fact call every active script's Update() function between every frame rendering.
I don't know about you, but when I first saw Unity 3D's collision system I was a little bit confused. This video is an extract from our Complete Unity Developer course, where I explain how colliders, collisions and triggers work.
One of the things we have done is combine the tables from Unity's documentation about the messages that are passed in collisions into one simple, easy to read table. Take a look at the video, I hope you enjoy it?
What's the best resource you have found on this topic?
Search for past blogs and more.
+ Blogs by email.
+ Free mini course.
+ Early access offers.
Ben Tristem is an entrepreneur and online educator.