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.
https://docs.unity3d.com/Manual/InstantiatingPrefabs.html
https://docs.unity3d.com/ScriptReference/MonoBehaviour.InvokeRepeating.html
https://docs.unity3d.com/ScriptReference/Random.Range.html
https://docs.unity3d.com/ScriptReference/Renderer-material.html
https://docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html https://docs.unity3d.com/ScriptReference/Object.Destroy.html
https://docs.unity3d.com/Manual/Tags.html
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?
And here are important functions in the MonoBehavior
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.
https://docs.unity3d.com/Manual/InstantiatingPrefabs.html
https://docs.unity3d.com/ScriptReference/MonoBehaviour.InvokeRepeating.html
https://docs.unity3d.com/ScriptReference/Random.Range.html
https://docs.unity3d.com/ScriptReference/Renderer-material.html
https://docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html https://docs.unity3d.com/ScriptReference/Object.Destroy.html
https://docs.unity3d.com/Manual/Tags.html
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?
And here are important functions in the MonoBehavior