コード例 #1
0
        private GetSocialChatAndroid()
        {
            using (AndroidJavaObject clazz = new AndroidJavaClass("im.getsocial.sdk.chat.unity.GetSocialChatUnityBridge"))
            {
                getSocialChatJavaObject = clazz.CallStatic <AndroidJavaObject>("getInstance");
            }

            if (AndroidUtils.IsJavaNull(getSocialChatJavaObject))
            {
                Debug.LogError(string.Format("Failed to initialize GetSocial Chat module. Please make sure project is configured properly"));
            }
        }