Skip to content

Commit

Permalink
Update DLL + add EE toggle to config
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Nov 21, 2024
1 parent e1b7fb5 commit 4d5f773
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions PubNubUnity/Assets/PubNub/Editor/PNConfigAssetEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class PNConfigAssetEditor : Editor {
"AuthKey",
"CipherKey",
"Secure",
"EnableEventEngine",
"EnableWebGLBuildMode",
"LogToUnityConsole",
"LogVerbosity"
Expand Down
Binary file modified PubNubUnity/Assets/PubNub/Runtime/Plugins/PubnubApiUnity.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions PubNubUnity/Assets/PubNub/Runtime/Util/PNConfigAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class PNConfigAsset : ScriptableObject {
public string AuthKey;
public string CipherKey;
public bool Secure;
public bool EnableEventEngine;
public bool EnableWebGLBuildMode;
public bool LogToUnityConsole;
public PNLogVerbosity LogVerbosity;
Expand All @@ -32,6 +33,7 @@ public static implicit operator PNConfiguration(PNConfigAsset asset) {
config.SecretKey = asset.SecretKey;
config.AuthKey = asset.AuthKey;
config.CipherKey = asset.CipherKey;
config.EnableEventEngine = asset.EnableEventEngine;
config.Secure = asset.Secure;
config.LogVerbosity = asset.LogVerbosity;
Debug.LogError("NEW CONFIG DONE");
Expand Down
7 changes: 5 additions & 2 deletions PubNubUnity/Assets/PubNub/Samples/DemoKeys.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ MonoBehaviour:
m_EditorClassIdentifier:
PublishKey: demo
SubscribeKey: demo
SecretKey:
AuthKey:
CipherKey:
EnableTelemetry: 0
Secure: 0
LogVerbosity: 1
EnableEventEngine: 0
EnableWebGLBuildMode: 0
LogToUnityConsole: 0
LogVerbosity: 0
externalJsonEnabled: 1
externalJsonFile: {fileID: 4900000, guid: cece9ff28bff4146b7592375b7909cc0, type: 3}

0 comments on commit 4d5f773

Please sign in to comment.