Davit Funk
0
Q:

ue4 array copy c++

TArray<int32> IntArray;
2
#include "Containers/Array.h"
//Might need this. header file

// Syntax
TArray<Variable_Type> Variable_Name;

// Example code
TArray<AActor> Gun;

// For more information vist https://docs.unrealengine.com/en-US/API/Runtime/Core/Containers/TArray/index.html
1
// Array copy with UE
TArray<AActor*> SourceArray; 
// copy SourceArray to DestArray
TArray<AActor*> DestArray(SourceArray);
0

New to Communities?

Join the community