- Home /
Amplify material editor: adjust property at runtime?
Hi, wondering how I can change the value of a float property in a material created with amplify during gameplay? (c#)
ive tried uvScale.GetMaterial().SetFloat("uvScale", 10.0f); but no luck
scale.jpg
(486.3 kB)
Comment
Best Answer
Answer by digzelot · Sep 24, 2017 at 06:25 AM
Opening the shader I see the property name that get's created is _uvScale
so using material.setfloat("_uvScale", value); works