Unity C# Programming Tutorial: GameObject Array with Lights

Veröffentlicht am: 28 Juni 2016
auf dem Kanal: 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.


Auf dieser Seite können Sie das Online-Video Unity C# Programming Tutorial: GameObject Array with Lights mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Jayanam 28 Juni 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,729 Mal angesehen und es wurde von 37 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!