Exemple #1
0
    // Use this for initialization
    void Start()
    {
        splash_guide_uitxt = GameObject.Find("splash_guide_uitxt").GetComponent <UILabel>();

        splash_bg = GameObject.Find("splash_bg").GetComponent <UISprite>();

        StartCoroutine(Example());

        SaveManager.CheckGlobalData();

        NextProcess nextProcess = GameObject.Find("splash_bg").GetComponent <NextProcess>();

        if (SaveManager.CheckCharacterData() == false)
        {
            nextProcess.playType = "newCharacterScene";
        }
        else
        {
            nextProcess.playType = "loadPlayScene";
        }
    }