public static void SetTexture( string propertyName, Texture tex, int idx, params Renderer[] arrRend) { ChangeTexture.SetTexture(Shader.PropertyToID(propertyName), tex, idx, arrRend); }
public static void SetTexture(string propertyName, Texture tex, params Material[] mat) { ChangeTexture.SetTexture(Shader.PropertyToID(propertyName), tex, mat); }