I added SerializeField like this and now it works:
Code: Select all
[Tooltip("When restoring this Spawned Object Manager, tell respawned objects to restore their saved data also.")]
[SerializeField]
private bool m_applySaveDataToSpawnedObjectsOnRestore = false;