alex_gs 3 éve
szülő
commit
e37317a9dc

+ 1 - 1
Unity3/Assets/AssetBundling/AssetBundleUtils.cs

@@ -3,7 +3,7 @@ using System.Collections;
 
 public class AssetBundleUtils
 {
-	const string ASSET_BUNDLES_BASE_URL = "https://game.gamatic.com/app_condom_dk/AssetBundles/";
+	const string ASSET_BUNDLES_BASE_URL = "http://game.gamatic.com/app_condom_dk/AssetBundles/";
 	
 	public static string GetAssetBundlesURL()
 	{

+ 1 - 1
Unity3/Assets/Core/GameConstants.cs

@@ -3,7 +3,7 @@ using System.Collections;
 
 public partial class GameConstants
 {
-	//public const string SERVER_BASE_URL = "https://game.gamatic.com/iCTS/";
+	//public const string SERVER_BASE_URL = "http://game.gamatic.com/iCTS/";
 	//public const string APP_STORE_URL = "";
 	//public const string GAME_NAME = "Icelandic CTS";
 	//public const string SUPPORT_EMAIL_FOR_IOS_CRASH_LOG = "nattard@av.com.mt";

+ 1 - 1
Unity3/Assets/Core/Managers/ConnectivityPollManager.cs

@@ -16,7 +16,7 @@ public class ConnectivityPollManager : MonoBehaviour
 	static bool _hasInternet;
 	public static bool HasInternet { get { return _hasInternet; } }
 
-	private const string PING_DESTINATION = "https://game.gamatic.com/ping_do_not_delete.html";
+	private const string PING_DESTINATION = "http://game.gamatic.com/ping_do_not_delete.html";
 	const float TIME_BETWEEN_PINGS = 3; //seconds
 	//sometimes the ping just fails every once in a while, so we should do multiple pings just to make sure
 	const int FAILED_PINGS_DISCONNECTION_TRIGGER = 3;

+ 1 - 1
Unity3/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs

@@ -37,7 +37,7 @@ namespace Facebook.Unity.Example
                         { AppEventParameterName.Description, "Clicked 'Log AppEvent' button" }
                     });
                 LogView.AddLog(
-                    "You may see results showing up at https://www.facebook.com/analytics/"
+                    "You may see results showing up at http://www.facebook.com/analytics/"
                     + FB.AppId);
             }
         }

+ 2 - 2
Unity3/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs

@@ -64,7 +64,7 @@ namespace Facebook.Unity.Example
             if (this.Button("Share - Link Photo"))
             {
                 FB.ShareLink(
-                    new Uri("https://developers.facebook.com/"),
+                    new Uri("http://developers.facebook.com/"),
                     "Link Share",
                     "Look I'm sharing a link",
                     new Uri("http://i.imgur.com/j4M7vCO.jpg"),
@@ -90,7 +90,7 @@ namespace Facebook.Unity.Example
             {
                 FB.FeedShare(
                     string.Empty,
-                    new Uri("https://developers.facebook.com/"),
+                    new Uri("http://developers.facebook.com/"),
                     "Test Title",
                     "Test caption",
                     "Test Description",

+ 6 - 6
Unity3/Assets/GameCore/GameConstants.cs

@@ -4,19 +4,19 @@
 	//They are not pixels as such, but on iPad1/2 they map to pixels
 	public static int GAME_WIDTH;
 	public static int GAME_HEIGHT;
-	public static string BANNER_ADS = "https://game.gamatic.com/iCTS/BannerAD/config.json";
-	public static string VIDEO_ADS = "https://game.gamatic.com/iCTS/Video/config.json";
+	public static string BANNER_ADS = "http://game.gamatic.com/iCTS/BannerAD/config.json";
+	public static string VIDEO_ADS = "http://game.gamatic.com/iCTS/Video/config.json";
 
 	//TODO Change these on release to the appropriate facebook page
 	public const string LIKE_PAGE_ID = "112791158753556";
-	public const string PAGE_TO_LIKE = "https://www.facebook.com/kunmedkondom";
-	public const string PLAY_GAME_URL = "https://apps.facebook.com/rubitgame";
-	public const string FACEBOOK_POST_IMAGE = "https://game.gamatic.com/RubIt/facebookShareWonChallenge.png";
+	public const string PAGE_TO_LIKE = "http://www.facebook.com/kunmedkondom";
+	public const string PLAY_GAME_URL = "http://apps.facebook.com/rubitgame";
+	public const string FACEBOOK_POST_IMAGE = "http://game.gamatic.com/RubIt/facebookShareWonChallenge.png";
 
 	public const string SECRET_KEY = "dr3@mtH3at3r";
 
 	public const string SUPPORT_EMAIL_FOR_IOS_CRASH_LOG = "nattard@av.com.mt";
-	public const string SERVER_BASE_URL = "https://game.gamatic.com/iCTS/";
+	public const string SERVER_BASE_URL = "http://game.gamatic.com/iCTS/";
 	public const string APP_STORE_URL = "";
 	public const string GAME_NAME = "Durex Smokkaleikurinn";
 

+ 1 - 1
Unity3/Assets/GameCore/Managers/VideoManager.cs

@@ -72,7 +72,7 @@ public class VideoManager : MonoBehaviour
         VideoPlayer.targetTexture = VideoRenderTexture;
         // Restart from beginning when done.
         VideoPlayer.isLooping = true;
-        VideoPlayer.url = "https://game.gamatic.com/iCTS/Video/APT_smokkarHreyfing.mp4";
+        VideoPlayer.url = "http://game.gamatic.com/iCTS/Video/APT_smokkarHreyfing.mp4";
         //Set video To Play then prepare Audio to prevent Buffering
         VideoPlayer.Prepare();
     

+ 1 - 1
Unity3/Assets/SocialNetworking/Scripts/FaceBook/SocialManager.cs

@@ -1028,7 +1028,7 @@ public class SocialManager : MonoBehaviour
 	
 	public void GetFacebookProfilePicture(string userID, ProfilePicSettings picSettings, Action<bool, Texture2D> onComplete)
 	{
-		ImageManager.GetImage("https://graph.facebook.com/" + userID +  "/picture?type=" + picSettings, userID, onComplete);
+		ImageManager.GetImage("http://graph.facebook.com/" + userID +  "/picture?type=" + picSettings, userID, onComplete);
 	}
 	
 	private string ComputeHash(string message)

+ 1 - 1
Unity3/Assets/SocialNetworking/Scripts/FacebookWeb.cs

@@ -137,7 +137,7 @@ public class FacebookWeb
 	public static void showDialog( string dialogType, Dictionary<string,string> parameters )
 	{
 		parameters.Add("method",dialogType);
-		parameters.Add("link", @"https://developers.facebook.com/docs/reference/dialogs/");
+		parameters.Add("link", @"http://developers.facebook.com/docs/reference/dialogs/");
 		parameters.Add ("display","popup");
 				//to[0]=<>&to[1]=<>&request=<>
 		

+ 2 - 2
Unity3/Assets/SocialNetworking/Scripts/WrapperFB.cs

@@ -297,11 +297,11 @@ public class WrapperFB : MonoBehaviour
 			//Facebook.Unity.FB.
             FB.FeedShare(
                 string.Empty,
-			    new Uri("https://game.gamatic.com/iCTS/Smokkaleikurinn2.html"),
+			    new Uri("http://game.gamatic.com/iCTS/Smokkaleikurinn2.html"),
                 Localization.instance.Get("facebook.shareChallengeWon.linkName"),
                 Localization.instance.Get("facebook.shareChallengeWon.imageCaption"),
                 Localization.instance.Get("facebook.shareChallengeWon.description"),
-                new Uri("https://game.gamatic.com/RubIt/facebookShareWonChallenge2.png"),
+                new Uri("http://game.gamatic.com/RubIt/facebookShareWonChallenge2.png"),
                 string.Empty,
                 HandleResultPost);
        

+ 1 - 1
Unity3/Assets/UI/Buttons/InvisibleButtonForAVFacebookPage.cs

@@ -5,6 +5,6 @@ public class InvisibleButtonForAVFacebookPage : MonoBehaviour
 {
 	void OnClick()
 	{
-		FacebookHelper.Instance.OpenFacebookPage("145693208782632", "https://www.tctech.eu");
+		FacebookHelper.Instance.OpenFacebookPage("145693208782632", "http://www.tctech.eu");
 	}
 }

+ 1 - 1
Unity3/Assets/UI/Screens/DownloadImageFromServer.cs

@@ -138,7 +138,7 @@ public class DownloadImageFromServer : MonoBehaviour
 
                 if (string.IsNullOrEmpty(www.error))
                 {
-                    var str = "https://game.gamatic.com/iCTS/BannerAD/";
+                    var str = "http://game.gamatic.com/iCTS/BannerAD/";
                     var conf = PlaceholderUrl.Substring(str.ToCharArray().Length);
                     if (conf.Contains("OLD"))
                     {