Version: 2019.4
public static void ClearDirty (Object target);


Clear target's dirty flag.

Unity uses the dirty flag to find changed assets that must be saved to disk. Clear the dirty flag if you make changes to an asset that don't need to be saved, such as temporary changes that you subsequently revert.