Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Actor->GetNetDriver())
- {
- for (UNetConnection* Connection : Actor->GetNetDriver()->ClientConnections)
- {
- UActorChannel* Channel = Connection->ActorChannels.FindRef(Actor);
- if (Channel != nullptr)
- Channel->ReplicateActor();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement