Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        SaveManager.CheckCharacterData();
        MessageManager.instance.CheckMessageData();
        RefreshSceneObject();
        SaveManager.InitData();

        if (CharacterData.instance.playWeek == 0)
        {
            PanelManager.instance.AlertPanel("환영", "환영합니다!", "네 알겠습니다");
        }
    }
Ejemplo n.º 2
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";
        }
    }