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
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
Opening the shader I see the property name that get’s created is _uvScale
so using material.setfloat(“_uvScale”, value); works