PostProcess: add doNotSerialize

Background

Following ISpriteManager: add doNotSerialize, PostProcess have no doNotSerialize to control if a post process should be serialized.

Proposal

Add a doNotSerialize to PostProcess with a default false, since it’s a class, existing code should not be broken, and derived classes should inherit this prop.
In SceneSerializer._Serialize, doNotSerialize would be checked like all other type of objects for PostProcess.

As usual, please go my dear. This is all good stuff

2 Likes