Question by
Jschilz1 · Oct 04, 2018 at 10:22 PM ·
c#runtimeterraintexture
How to change 1 tile of terrain on click with c#
I am trying to learn how to manipulate terrain on a per tile basis. For example if i want a player to create a road or plow a field and i want the painted textures to change when they click on that tile and the UI gives them a pop up to build road or plow. I would want it only to affect the tile they are clicking on only if it is a traversable tile through the navmesh. I have looked through Unity's documents but there is no example of anything like this nor have i found any examples on google. Can someone please point me in right direction.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612175805im_/https://answers.unity.com/themes/thub/images/avi.jpg)