Updated the Default Project template to enable the "Standard" list of gems (#1325)
* Added a ModuleInterface class for sharing an AZ::Module implementation The ModuleInterface class registers the SystemComponent that that comes with the Client module and returns in it's GetRequiredSystemComponent the Clients module SystemComponent An EditorModule class has been added which inherits from the ModuleInterface class and extends the registered SystemComponent descriptors with it's SystemComponent. It then overrides teh GetRequiredSystemComponent function and replaces the required SystemComponent with it's Tools module SystemComponent * Updated the DefaultProject list of Gems to match the decided Standard list of gems * Updated the comment in the EditorModule constructor The comment indicates that all component descriptors should be added to the m_descriptors list * Added more detail to the ModuleInterface constructor about the registering the Component Descriptors
This commit is contained in:
committed by
GitHub
parent
4014cacff8
commit
b945e1689a
@@ -49,14 +49,12 @@ namespace ${SanitizedCppName}
|
||||
incompatible.push_back(AZ_CRC("${SanitizedCppName}Service"));
|
||||
}
|
||||
|
||||
void ${SanitizedCppName}SystemComponent::GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required)
|
||||
void ${SanitizedCppName}SystemComponent::GetRequiredServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& required)
|
||||
{
|
||||
AZ_UNUSED(required);
|
||||
}
|
||||
|
||||
void ${SanitizedCppName}SystemComponent::GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent)
|
||||
void ${SanitizedCppName}SystemComponent::GetDependentServices([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType& dependent)
|
||||
{
|
||||
AZ_UNUSED(dependent);
|
||||
}
|
||||
|
||||
${SanitizedCppName}SystemComponent::${SanitizedCppName}SystemComponent()
|
||||
|
||||
Reference in New Issue
Block a user