L1 - Scripting
Scripting in Unity is a powerful method to implement complex behaviour in your experience. In the following, we will introduce a first set of useful techniques to add new functionalities. Here is an overview.
Scripted Set Material
Trigger and Destroy
On Collisions and Triggers
Collisions and triggers are two native mechanics in Unity to handle interactions between objects in Unity. Both events require specific components such as colliders and rigidbodies to activate correctly. Please refer to the manual for an overview of combinations: https://docs.unity3d.com/Manual/CollidersOverview.html.
Here is a list of important classes in Unity.
Are you familiar with those terms?
- Vector3 and Rotate
And here are important functions in the MonoBehavior