r/adventofcode • u/happeloy • Dec 12 '19
Visualization [2019 Day 12 (part1)] Visualisation in unity
https://gfycat.com/fluffycompleteazurevasesponge
81
Upvotes
r/adventofcode • u/happeloy • Dec 12 '19
View all comments
Show parent comment
2
u/happeloy Dec 12 '19
Moons are defined like this. Using System.Serializable makes them exposed in the inspector, where you can drag-and-drop objects to the field g.
When updating the positions, simply do: