In my point and click framework, I have different objects in a room as game objects with a different sprite component and I use some nested game objects in there to easily position some transform points for walk_to and look_at actions. I can then have different script components to add functionality like parallax, hotspots, etc.
This way when I click on any of this for an interaction I can easily have the player walk and look at those points
The issue I have is that I have to use different names for each of these points, while I would prefer for them to be always called just lookat and walkto, but this is not allowed.
I know this is possible with collections, but it’s not really a viable options as they are really prefabs and I need to compose them depending on the needs (different sprite components, scripts, etc).
In an ideal world, the go.property for a vector3 would allow to get the initial value from positioning a point in the viewport interactively.
Is there a solution or a workaround to this?