Hi!
Is there a function that is called in ScriptableObject on the start of a game/testing in editor?
I need a int value to be set to “default” value after finishing the game/testing, as unity does with standard int variables.
Is there analogy to Start() or Awake() for a SO? Cus Awake() is called when SO is created
Well, you did check the documentation, right?
It also has OnEnable and OnDisable. Though it doesn’t seem right what you’re doing there. ScriptableObjects should either be readonly or when used as mediator be set / initialized by some other component.