Unity C# Programming Tutorial: GameObject Array with Lights

Publié le: 28 juin 2016
sur la chaîne: Jayanam
3,729
37

I will show you in a simple Unity C# programming tutorial and project how you can change properties of an arrays of GameObjects using a C# script. For this example I will add instances to many gameobjects for which I know that they have a Light-component attached.

On clicking a UI button we will dim all lightsources using a for each loop in C#.

It's a tutorial for beginners to programming with Unity, but I am pretty sure you will learn a lot of new and interesting stuff you can use in your games also... In the tutorial we will jump right into Unity 5 and create the project from scratch.


Sur cette page du site, vous pouvez voir la vidéo en ligne Unity C# Programming Tutorial: GameObject Array with Lights durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jayanam 28 juin 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,729 fois et il a aimé 37 téléspectateurs. Bon visionnage!