Hello. Suppose there is a method “Assign”, which takes a link to the array TArray◄FVector►:
void Assign(TArray◄FVector►& Array){}
Inside method, I pass a link to the pointer:
PointerToArray = &Array;
where PointerToArray is TArray◄FVector►* PointerToArray. And I want to assign a value to an array through it, but this is not so easy. In two versions:
Array[0] = FVector::FVector(1, 1, 1);
PointerToArray[0] = FVector::FVector(1, 1, 1);
The first case works, and the second says “Operator missing “=””. How can I change the value in an array through a pointer?