public static void OnPlayModeStateChanged (PlayModeState currentMode, PlayModeState changedMode) {
if (currentMode == PlayModeState.Stopped && changedMode == PlayModeState.Playing ||
currentMode == PlayModeState.AboutToPlay && changedMode == PlayModeState.Playing) {
AirConsole controller = GameObject.FindObjectOfType<AirConsole> ();
OpenBrowser (controller, Application.dataPath + Settings.WEBTEMPLATE_PATH);
}
}