cleanup and remove RedisPlugin

This commit is contained in:
Brandon Thomas
2021-02-19 06:23:25 -05:00
parent 602308a861
commit 1a62295187
4 changed files with 47 additions and 227 deletions
+27
View File
@@ -20,3 +20,30 @@ I stand up a websocket+pubsub system like so:
```
PS C:\Users\echel\OneDrive\Documents\Unreal Projects\RedisTestProject\Plugins\EventCenterPlugin> .\python\Scripts\Activate.ps1
```
## Notes
A few collected notes, since I'm still new to Unreal engine and I'm cleaning up my debug code.
To log to the game screen,
```
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Red, "Message goes here");
```
Time based handling in Tick(),
```
void AEventSourceActor::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
float time = GetGameTimeSinceCreation();
if (time - timerLastTime > 15.0) {
timerLastTime = time;
// Do the thing
}
}
```