Copy multiple Vector3 values into inspector

I have many gameobjects inside a prefab, since i do not want to load the whole prefab into memory, i need to store the positions of those gameobjects in a Vector3 Array.
So I want to copy multiple Vector 3 positions into an array in the Inspector - fast.

Can you think of any good way on how to achive this?

currently im messing around by writing them into an textfile and loading them at startup, but i am still hoping for a better solution :slight_smile:

Got it to work by using sriptable objects, main advantage is that the array can also be accessed by code in the usual way in edit mode.

    public void CopyWeaponPositionsToSO()
    {
        if (shipSO != null)
        {
            shipSO.shipModelData.weaponPos = new Vector3[transform.childCount];
            for (int i = 0; i < transform.childCount; i++)
            {
                shipSO.shipModelData.weaponPos *= transform.GetChild(i).transform.position;*

}
}
}