You point my want. I just want this component will have tow default data wen it create in editor. And i can change it in detail panel if i want.
This component i write to simulate a rope. So i copy code from Cablecomponent. And change some code to pass compile.
The Cablecomponent have a function can attach start point and end point to a position in default set.
I want my rope can attach any point to any position. So i must change some code to do. That why i add a TArray. But default when i create the rope component, it must fix in some position just like the cable’s default. So i need add two default data in the array container.
Can you point for me how to solve this?
For more, can you explain how the TArray work and why use TArray in constructor so easy to crash for me?