https://answers.unity.com/questions/767646/materialpropertyblock-main-texture-offset.html
propertyBlock.SetVector("_MainTex_ST", new Vector4(0.5f, 0.5f, 0.25f, 0.25f));
博客内容包含Unity相关链接及代码,代码展示了使用MaterialPropertyBlock设置纹理的操作,通过SetVector方法对_MainTex_ST属性进行赋值,体现了在Unity开发中对纹理属性的设置处理。
https://answers.unity.com/questions/767646/materialpropertyblock-main-texture-offset.html
propertyBlock.SetVector("_MainTex_ST", new Vector4(0.5f, 0.5f, 0.25f, 0.25f));

被折叠的 条评论
为什么被折叠?