Forum rules - please read before posting.

Action List assets - serialized fields

edited October 2014 in Engine development
Some members from Action class are physically written to file such as isRunning. Is there a reason for storing those members? 

ScriptableObjects are dangerous in a way, that it gets physically updated even during Play mode in Unity. Some action list assets had their member isRunning saved to 1 in the file. So could we remove such "running-state only" members from serialization ?

Comments

  • isRunning is a critical component of getting Actions to work.  I'm not sure I see the problem - they're set correctly before they're state is ever checked, so it doesn't actually matter what it's saved as beforehand.
  • edited October 2014
    You're right, it does get reset I didnt see that. But we do have over a thousand action list assets, so each byte that can be saved is worth it !

    Regards
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.