|
One of the features in Unity 3.5 I read about in the "What's New" page was about SetMaterialBlock. It's implications seems very beneficial for not having to instance materials and change settings per instance. Here's the description from the What's New page:
I can't find any documentation or any reference using Google to anyone who has used this. I saw someone mention it in one post on http://forum.unity3d.com, but beyond that, nothing. Has anyone used this and could provide documentation on how to use it? I'm sure someone will mention use of it sooner or later, but I'd rather do things correctly the first time around. Thanks so much.
(comments are locked)
|
|
Thanks for pointing it out. There's a mistake in the What's New page, the function is called SetPropertyBlock(). We will add documentation.
(comments are locked)
|
|
The function is called SetPropertyBlock. You can find it when you look into the Renderer docs.
(comments are locked)
|

Just wanted to note that there are no results returned when you search in the current documentation. http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=SetMaterialBlock
There is also no code hinting for the function in Monodevelop-Unity 2.8.2