public void SetTexture(string propertyName, Texture value) { foreach (Material material in base.targets) { material.SetTexture(propertyName, value); } }