This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings put global captive_portal_mode 1 | |
settings put global captive_portal_use_https 1 | |
settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204 | |
settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204 | |
settings put global captive_portal_fallback_url http://captive.v2ex.co/generate_204 | |
settings put global captive_portal_other_fallback_urls http://www.google.cn/generate_204 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Mono singleton Class. Extend this class to make singleton component. | |
/// Example: | |
/// <code> | |
/// public class Foo : MonoSingleton<Foo> | |
/// </code>. To get the instance of Foo class, use <code>Foo.instance</code> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define DEBUG_LEVEL_LOG | |
#define DEBUG_LEVEL_WARN | |
#define DEBUG_LEVEL_ERROR | |
using UnityEngine; | |
using System.Collections; | |
// setting the conditional to the platform of choice will only compile the method for that platform |