Add CookingData for C# editor to extend the cooking process

This commit is contained in:
Wojtek Figat
2021-08-08 16:01:58 +02:00
parent bc27890818
commit 6b532d2fbc
4 changed files with 34 additions and 30 deletions

View File

@@ -7,7 +7,8 @@
void RegisterGameCookingStart(GameCooker::EventType type)
{
auto platform = ToString(GameCooker::GetCurrentData().Platform);
auto& data = *GameCooker::GetCurrentData();
auto platform = ToString(data.Platform);
if (type == GameCooker::EventType::BuildStarted)
{
EditorAnalytics::SendEvent("Actions", "GameCooker.Start", platform);