Tip for adding new attributes to a save file script

nataliehill96nataliehill96 Posts: 1Member
edited May 15 in Tutorials

Just wanted to share this noob trick I figured out, since I found this problem frustrating and couldn't really find any simple solutions. This is what I figured out:

1) Open a new scene
2) Add an empty Node2D
3) Attach a script, calling your save function in _ready()
4) Run the scene

That should update your save file with the new attributes.


Tags :

Comments

  • SIsilicon28SIsilicon28 Posts: 703Moderator
    edited May 16

    Could you explain the problem this solution is for please? I don't know what you mean by "new attribute in save file". What sort of save file are you talking about?

Sign In or Register to comment.