Answers for "ue4 c++ replicate actor variable"

C++
0

ue4 c++ replicate actor variable

class ENGINE_API AActor : public UObject
{
    UPROPERTY( replicated )
    AActor * Owner;
};
Posted by: Guest on September-30-2021
0

ue4 c++ replicate actor variable

void AActor::GetLifetimeReplicatedProps( TArray< FLifetimeProperty > & OutLifetimeProps ) const
{
    DOREPLIFETIME( AActor, Owner );
}
Posted by: Guest on September-30-2021

Browse Popular Code Answers by Language