Navigation
API > API/Plugins > API/Plugins/MassGameplayEditor > API/Plugins/MassGameplayEditor/UMassTraitRepository
References
| Module | MassGameplayEditor |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassGameplayEditor/Public/MassTraitRepository.h |
| Include | #include "MassTraitRepository.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassGameplayEditor/Private/MassTraitRepository.cpp |
void InitRepository()
Remarks
The method gathers all existing trait classes and processed them. We don't do that on subsystem's init since very often the data won't be needed during the given editor run. We call the function lazily the first time the data is needed.