Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Monetization/JavaEnumUtilities.cs

15 lines
277 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
#if UNITY_ANDROID
using System;
namespace UnityEngine.Monetization
{
public class JavaEnumUtilities
{
public static int GetEnumOrdinal(AndroidJavaObject javaEnumObject)
{
return javaEnumObject.Call<int>("ordinal");
}
}
}
#endif