static Upsight() { UpsightManager.noop(); #if UNITY_EDITOR Debug.Log("Note: the Upsight plugin is a native code plugin. It will only return data, fire events and show content when run on an actual iOS or Android device."); #endif }
static Upsight() { if (Application.platform != RuntimePlatform.Android) { return; } UpsightManager.noop(); // find the plugin instance using (var pluginClass = new AndroidJavaClass("com.upsight.unity.UpsightPlugin")) _plugin = pluginClass.CallStatic <AndroidJavaObject>("instance"); }