After several unsuccessful attempts, I have managed to change the text values using this code.
(using Unity 2019.1.7f.1)
GetComponentInChildren().text = snapPos.x/panelGrid + “,” + snapPos.y/panelGrid;
After several unsuccessful attempts, I have managed to change the text values using this code.
(using Unity 2019.1.7f.1)
GetComponentInChildren().text = snapPos.x/panelGrid + “,” + snapPos.y/panelGrid;