void OnEnable()
 {
     data = target as GameData;
     data.ensureDataConsistency();
 }