currently i am working on a simulation game where player have to make a state and transition table then the turing machine run the give criteria.
i tried making the table via unity ui toolkit but there is no table option in it i just made each cell have a border and adjusted margin and padding to make it look like a table but there is 1 more problem i cant add elements in the fake table because unity ui toolkit doesnt support duplicating elements. i have to manually create the row element in c# code then assign all the properties all the navigation and all the styles as well then add it to the container however it doesnt seem a good option.
what other way i can achieve similar table ui in unity. consider each row as a state which corresponds to a state element in array and each state can have multiple transitions
here is a example table that i achieve through current approach
the removal of transition or state should also reflect on respective array
ofcourse i can achive this with passing references everywhere but its too complex for a simple ui functionality
using the normal ui as in canvas ui is functionally easy but it doesnt have the aesthetics as the ui toolkit has