Exemple #1
0
		private static void RefreshValidationErrors() {
			cachedValidationErrors_ = ValidationUtil.ValidateAllGameObjectsInLoadedScenes();

			objectsWithErrors_.Clear();
			if (cachedValidationErrors_ != null) {
				foreach (IComponentValidationError componentError in cachedValidationErrors_.Where(e => e is IComponentValidationError)) {
					objectsWithErrors_.Add(componentError.Component.gameObject);
				}
			}
		}