Provide a template variant for Entity::GetOrCreateComponent which typically produces much cleaner code compared to the non-template version.