I am trying to make a game with turrets which should be upgraded and when they do I want the new instantiated prefab to assign the same values as the old turret. Since they have the exact same script it should be possible, right? I DO NOT want to change the value in the inspector because it just messes up all the values. Iām making it in C#.
Thanks in advance for your help
Maybe the upgrade function should just keep the same GameObject but only change aspect and values you want to change at upgrade?
Try creating more methods OR create parameters.