private void _openVk() { #if UNITY_EDITOR Debug.Log("To facebook"); #elif UNITY_ANDROID AndroidAppLauncher.LaunchAndroidAppWithBundleId("com.facebook.katana"); #elif UNITY_IOS Application.OpenURL("https://www.facebook.com/"); #endif }
private void _openVk() { #if UNITY_EDITOR Debug.Log("To vk"); #elif UNITY_ANDROID AndroidAppLauncher.LaunchAndroidAppWithBundleId("com.vkontakte.android"); #elif UNITY_IOS Application.OpenURL("https://www.vk.com"); #endif }
private void _openInstagram(string tag) { #if UNITY_EDITOR Debug.Log("To instagram"); #elif UNITY_ANDROID AndroidAppLauncher.LaunchAndroidAppWithBundleId("com.instagram.android"); #elif UNITY_IOS Application.OpenURL("https://www.instagram.com/"); #endif }