From 1676f58848e71e02de6c3843f50e62d61fc6ed6e Mon Sep 17 00:00:00 2001 From: Arnaud Jamin Date: Wed, 19 Mar 2025 13:01:20 -0400 Subject: [PATCH] Update README.md --- README.md | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/README.md b/README.md index a1ba1aa..760ddd2 100644 --- a/README.md +++ b/README.md @@ -502,29 +502,6 @@ void UCogSampleGameInstance::Init() } ``` -- In your PlayerController class, spawn the Cog Replicators. The Replicator are used to communicate between the client and the server, for example to apply cheats, spawn actors, etc. -```cpp - -#if ENABLE_COG -#include "CogAbilityReplicator.h" -#include "CogDebugDraw.h" -#include "CogDebugReplicator.h" -#include "CogEngineReplicator.h" -#endif //ENABLE_COG - -void ACogSamplePlayerController::BeginPlay() -{ - Super::BeginPlay(); - -#if ENABLE_COG - // Spawn the Replicator of each plugin - ACogDebugReplicator::Spawn(this); - ACogAbilityReplicator::Spawn(this); - ACogEngineReplicator::Spawn(this); -#endif //ENABLE_COG -} -``` - - Implement Cog Interfaces on your desired actor classes: ```cpp // CogSampleCharacter.h