Question by
AntLewis · Jan 05, 2016 at 04:14 PM ·
vectrosity
Vectrosity - Accessing a Line's GameObject (Unity5.3)
Hi there, does anyone know how to access the gameobject created by a 3D line in Vectrosity? I need to add a script to the object on creation. (I can obviously still find the gameobject in the scene but this seems sloppy).
I'm certain this was possible in a previous version but I'm struggling to remember how.
Thanks for any help! @Eric5h5
Comment
Answer by thehen2 · Nov 10, 2016 at 09:15 AM
I just had the same issue. Release notes say the following:
Removed VectorLine.vectorObject
Instead I'm now using:
VectorLine.rectTransform.gameObject;