Files
rudder-unity-sdk/Packages/rudder.sdk/Runtime/Sources/RudderConfiguration.cs
T
edmand46 6d115f158e Server-side scenario execution: new Rudder.Core.dll, realtime/planstore glue removed
- Rudder.Core.dll rebuilt from csharp-sdk effects rewrite (96,768 bytes)
- Realtime/ adapters, UnityRealtimeTransportFactory, UnityPlanStateStore,
  UnityPlanScheduler, WebGL jslib and RealtimeUrl config deleted (with .meta)
- Scenarios sample rewired to client.Effects; samples login path updated
- AGENTS.md/README/CHANGELOG/package docs + agent skill updated; realtime.md skill doc removed
2026-09-04 14:23:38 +03:00

29 lines
768 B
C#

using UnityEngine;
namespace RudderSdk.Unity
{
[CreateAssetMenu(menuName = "Rudder/Configuration", fileName = "RudderConfiguration")]
public class RudderConfiguration : ScriptableObject
{
[Tooltip("Project key issued in the Rudder admin panel. Required.")]
public string ProjectKey;
[Tooltip("API base URL, e.g. https://api.rudder.build.")]
public string BaseUrl = "https://api.rudder.build";
[Tooltip("HTTP request timeout in seconds.")]
[Min(1)]
public int TimeoutSeconds = 10;
private void OnValidate()
{
if (string.IsNullOrEmpty(ProjectKey))
{
Debug.LogWarning(
"[Rudder] ProjectKey is empty on " + name + ". The SDK cannot authenticate without it.",
this);
}
}
}
}