Trouble using GetComponent to override all the materials in my object

Hi @RedStreakG,

I’m glad that Yee was able to help you learn a bit more. Don’t worry if you don’t understand every single detail yet. :slight_smile:

One of my favourite sources of information on C# is DotNetPerls. Maybe you know that website. If not, please take a look at this article:

https://www.dotnetperls.com/array

Perhaps it will help you understand what arrays are. Don’t get confused by the type names and variable names. An array is a concept, which is not bound to specific names.


See also:

1 Like