예제 #1
0
    // Use this for initialization
    void Start()
    {
        if (Scene_Manager.load_deck == true)
        {
            cards_button.SetActive(true);
            deck_button.SetActive(false);
#if UNITY_WEBGL
            file_manager.Load_Deck_File_Web(Scene_Manager.pathfile);
#else
            file_manager.Load_Deck_File(Scene_Manager.pathfile);
#endif
            Refresh_Deck();
            Aff_Deck();
        }
        else
        {
            research.Research();
            cards_button.SetActive(false);
            deck_button.SetActive(true);
            Init_Img();
            Refresh();
        }
    }