AllowTool.ThingDesignatorDef.Assert C# (CSharp) Méthode

Assert() private méthode

private Assert ( bool check, string errorMessage ) : void
check bool
errorMessage string
Résultat void
		private void Assert(bool check, string errorMessage) {
			if (!check) Log.Error(string.Format("[AllowTool] Invalid data in ThingDesignatorDef {0}: {1}", defName, errorMessage));
		}
	}