init
This commit is contained in:
25
Assets/Adjust/Unity/AdjustEnvironment.cs
Normal file
25
Assets/Adjust/Unity/AdjustEnvironment.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace com.adjust.sdk
|
||||
{
|
||||
[System.Serializable]
|
||||
public enum AdjustEnvironment
|
||||
{
|
||||
Sandbox,
|
||||
Production
|
||||
}
|
||||
|
||||
public static class AdjustEnvironmentExtension
|
||||
{
|
||||
public static string ToLowercaseString(this AdjustEnvironment adjustEnvironment)
|
||||
{
|
||||
switch (adjustEnvironment)
|
||||
{
|
||||
case AdjustEnvironment.Sandbox:
|
||||
return "sandbox";
|
||||
case AdjustEnvironment.Production:
|
||||
return "production";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user