Using Hit Areas In Unity?
I would like to do a few things with hit areas in unity.
I'm using the scripts from SampleApp1.
I want to make the objects created with the DrawHitArea function visible in the editor (maybe as a gizmo?).
I want to be able to change their transform (position and scale) with an UpdateHitArea function for hit areas that move when a parameter changes.
My problem is that I don't know how to access the objects created with DrawHitArea and I don't know how to move the object to the new position of the hit area.
Are the created objects GameObjects or something else? How are they named when they are created?
Hoping someone can help