UObject支持从一个ini配置文件导入数据

Engine\Source\Runtime\CoreUObject\Public\UObject\Object.h

/**
 * Imports property values from an .ini file.
 *
 * @param   Class               the class to use for determining which section of the ini to retrieve text values from
 * @param   Filename            indicates the filename to load values from; if not specified, uses ConfigClass's ClassConfigName
 * @param   PropagationFlags    indicates how this call to LoadConfig should be propagated; expects a bitmask of UE4::ELoadConfigPropagationFlags values.
 * @param   PropertyToLoad      if specified, only the ini value for the specified property will be imported.
 */
void LoadConfig( UClass* ConfigClass=NULL, const TCHAR* Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class UProperty* PropertyToLoad=NULL );

/**
 * Wrapper method for LoadConfig that is used when reloading the config data for objects at runtime which have already loaded their config data at least once.
 * Allows the objects the receive a callback that it's configuration data has been reloaded.
 *
 * @param   Class               the class to use for determining which section of the ini to retrieve text values from
 * @param   Filename            indicates the filename to load values from; if not specified, uses ConfigClass's ClassConfigName
 * @param   PropagationFlags    indicates how this call to LoadConfig should be propagated; expects a bitmask of UE4::ELoadConfigPropagationFlags values.
 * @param   PropertyToLoad      if specified, only the ini value for the specified property will be imported
 */
void ReloadConfig( UClass* ConfigClass=NULL, const TCHAR* Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class UProperty* PropertyToLoad=NULL );

/** Import an object from a file. */
void ParseParms( const TCHAR* Parms );

生如夏花之绚烂,死如秋叶之静美。----泰戈尔《生如夏花》