In this video you will learn how to change Matetial of a GameObject through script. Download Script and Materials …
18 Comments
Leave a Reply
You must be logged in to post a comment.
In this video you will learn how to change Matetial of a GameObject through script. Download Script and Materials …
You must be logged in to post a comment.
thanks i was finding the problem with my game it dosent work and i came to your video it workd thanks
Спасибо!
Огромное спасибо!
thats nice. How would you do it on trigger?
Thank you, this was really useful for my project.
Hi, thank you for this video, could you let me know how to change the material during play mode by clicking and getting a menu to change it…
Nice and easy! Thanks
Thank you so much! Your explanation is simple yet very effective! You deserve way more surbscribers.
Thank you <3
how to select an object and then apply material after selected from a different option.plz, make a for multiple objects.
I actually designed 2D textures but couldn't find a way to get more than one onto my player. This method allowed me to turn materials into sprites! Pretty freaking awsome :)))
when i do public material (insert name here); it dosent work
Thank-you, helped me very much in my building game!
Extremly Helpful, Big thanks to you!
Thank you so much for this my man
i am looking for a way to change it on touch, IE If object A touches Object C object C gets material A and if Object B touches Object C it gets Material B
Like QBert
Hmm thanks for the video, but is there a more dynamic way to do this, without predefining every material within the script? I have materials in the directory, can I just reference them directly somehow?
amazing thank you!