HOW TO CHANGE THE COLOR OF AN OBJECT THROUGH SCRIPT IN UNITY | Unity Tutorial

HOW TO CHANGE THE COLOR OF AN OBJECT THROUGH SCRIPT IN UNITY | Unity Tutorial

BAM GAMES & APPS - Unity Tutorials

1 месяц назад

19 Просмотров

HOW TO CHANGE THE COLOR OF AN OBJECT THROUGH SCRIPT IN UNITY | Unity Tutorial

In this NEW Unity tutorial, we are going to learn how to change the color of an object in Unity directly from the script by modifying its Image component.

To do this, we are going to get the component from the c# script using the GetComponent method. Afterwards, we will modify its color property and see the result.

For this Unity tutorial we rely on a previous video:

✅ HOW TO CREATE A TOGGLE BUTTON IN UNITY - Switch Button
https://youtu.be/y4aEso1VzIQ

I'll explain in detail how to do this and show you all the tips and tricks I know in Unity!!!

Have a nice day Unity developer!

❗️KEEP LEARNING❗️
https://www.youtube.com/playlist?list=PLjQFtm3o3dPvyUHUJPERHKkwVb0j3j_jP

Тэги:

#how_to_change_the_color_of_an_object_in_unity #change_the_color_of_a_gameobject_in_unity #change_the_color_of_an_image_in_unity #unity_change_color_of_sprite #unity_change_color_of_object #unity_change_color_of_object_in_script #learn_unity #unity_game_development_tutorial #how_to_make_a_game_in_unity #unity_programming_for_beginners #unity_tutorial #unity #android_app #unity_2d_tutorial #android_developer #unity_ui #unity_for_beginners #how_to_get_started_in_unity #unity_asset
Ссылки и html тэги не поддерживаются


Комментарии: