Rework how replicators are spawned to simplify Cog integration
- Replicators are now automatically spawned - Rework input management. - Add input shortcuts in the TimeScale window to change the time scale.
This commit is contained in:
1 parent
3c2428ca8f
commit
810c51ac13
31 files changed
+880
-436
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "CogAbilityReplicator.h"
|
||||
#include "CogDebugPluginSubsystem.h"
|
||||
#include "CogAbilitySubsystem.generated.h"
|
||||
|
||||
UCLASS()
|
||||
class COGABILITY_API UCogAbilitySubsystem : public UCogDebugPluginSubsystem
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
virtual void OnPlayerControllerReady(APlayerController* InController) override
|
||||
{
|
||||
if (InController != nullptr)
|
||||
{
|
||||
ACogAbilityReplicator::Spawn(InController);
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user