Search Unity

Question Editing the Tiling value with code?

Discussion in 'Testing & Automation' started by Pitohui13, Apr 22, 2021.

  1. Pitohui13

    Pitohui13

    Joined:
    Dec 26, 2019
    Posts:
    14


    I want to edit the "Tiling" values with code.Intuitively,i thought i should be able to access them with GetComponent<MeshRenderer>().material.tiling or something like that(on the object the texture is applied on) but i cant find the value in question.Where is it?