Editor changes to game object's ability does not persist when enter play mode

kentreva

Member
Hi!
I created an editor function that edits the ability of a game obejct in the scene like this.
1653788336094.png
The function works.

However, when I hit play mode, it reverts back to its seemingly default values.
where InputNames becomes "Action"
and ObjectDetection becomes "CharacterCast"
How do I persist the changes?
 
You will need to serialize all of the abilities again so the changes persist using AbilityBuilder.SerializeAbilities.
 
Top