How to handle having arrays in a prefab when applying a change?
For the game I am working on, we have an enemy prefab. Part of that prefab is a List of patrol nodes that the enemy goes to during their patrol route. The problem I'm having is that when I make a change to an enemy prefab, its changing the length of the List of patrol nodes on every time I hit apply. Is there a way around this? I can't seem to find a way to avoid this so if anyone else knows I would be very happy to learn.
Good day.
I dont get easxactly whats happening, can you post some images of the inspector where we can see the prefab before and fater changes?
$$anonymous$$aking a change to a prefab, should make exactly the same change to all prefab objects in the scene,
I would also like to exam this code further, or see what you're trying to achieve with screenshots.