Beispiel #1
0
//    public IEnumerator Awake ()
//    {
//        return 0;
//        //base.Awake ();
//        //DontDestroyOnLoad (this.gameObject);
//    }
    // Use this for initialization



    public override void Start()
    {
        //Ag.GameStt.TitleSceneBegan ();

        base.Start();
        //CheckWasServerVision ();
        //Debug.Log ("Getbool" + PreviewLabs.PlayerPrefs.GetBool ("BgmSoundOff"));
        Screen.sleepTimeout = SleepTimeout.NeverSleep;

        #if UNITY_IPHONE
        NotificationServices.RegisterForRemoteNotificationTypes(RemoteNotificationType.Alert | RemoteNotificationType.Badge | RemoteNotificationType.Sound);
        Ag.LogIntenseWord("NotificationServices.  Register For Remote NotificationTypes  ");
        #endif

        ("  Title :: Start    ").HtLog();
        //Ag.mFBOrder = "ConNet";
        GameInit();
        StartCoroutine(WaitAndPrint());
        JCE.JceUrgentNoticePT(Ag.mySelf);
        JCE.JceTextNoticePT(Ag.mySelf);


        if (AgUtil.IsLGeVuModel())
        {
            Screen.SetResolution((Screen.height / 2) * 3, Screen.height, true);
        }
    }