If you want to know how to do it in C++, you need to first include the header:
#include "Engine/Texture2D.h"
Then declare a TArray of type UTexture2D when you need it:
TArray TextureList;
If you want to know how to do it in C++, you need to first include the header:
#include "Engine/Texture2D.h"
Then declare a TArray of type UTexture2D when you need it:
TArray TextureList;