Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reference the materials used in generator
#3
Thanks for the fast response!

This almost got me there, is this the unique instance of the material for this generator/spline? When you get material via `Renderer.material` it creates unique instance, but it seems like this might be the original?

If I change a shader property on this (via something like SetFloat), it appears to affect all of them.
Reply


Messages In This Thread
RE: Reference the materials used in generator - by boriskourt - 05-08-2021, 07:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Generator gameobjects missing offset and rotated beewhale 0 24 11 hours ago
Last Post: beewhale
  How to rotate generator asteroids patndan74 6 4,350 05-08-2025, 10:07 PM
Last Post: _Aka_
  Null Reference Exception rickgplus 1 1,659 03-01-2025, 02:09 PM
Last Post: _Aka_
  I have to refresh generator manualy :( GameDeveloperek4123 4 3,386 10-07-2024, 05:36 PM
Last Post: _Aka_

Forum Jump: