コード例 #1
0
    void Start()
    {
        // パーツのセーブデータを読み込む
        string[] bp_names = data_manager.Load_Parts(Data_Manager.CATEGORY.BP, Data_Manager.STATE.NAME);
        string[] bp_lifes = data_manager.Load_Parts(Data_Manager.CATEGORY.BP, Data_Manager.STATE.LIFE);
        string[] sp_names = data_manager.Load_Parts(Data_Manager.CATEGORY.SP, Data_Manager.STATE.NAME);
        string[] sp_lifes = data_manager.Load_Parts(Data_Manager.CATEGORY.SP, Data_Manager.STATE.LIFE);

        // パーツをアタッチ
        Attach_Parts(body_UI, bp_names, bp_lifes);
        Attach_Parts(slot_UI, sp_names, sp_lifes);
    }
コード例 #2
0
    void Start()
    {
        // パーツのセーブデータを読み込む
        string[] bp_names = data_manager.Load_Parts(Data_Manager.CATEGORY.BP, Data_Manager.STATE.NAME);
        string[] bp_lifes = data_manager.Load_Parts(Data_Manager.CATEGORY.BP, Data_Manager.STATE.LIFE);
        string[] sp_names = data_manager.Load_Parts(Data_Manager.CATEGORY.SP, Data_Manager.STATE.NAME);
        string[] sp_lifes = data_manager.Load_Parts(Data_Manager.CATEGORY.SP, Data_Manager.STATE.LIFE);
        string[] gp_names = data_manager.Load_Parts(Data_Manager.CATEGORY.GP, Data_Manager.STATE.NAME);
        string[] gp_lifes = data_manager.Load_Parts(Data_Manager.CATEGORY.GP, Data_Manager.STATE.LIFE);

        // パーツをセット
        Set_Parts(bodys, bp_names, bp_lifes);
        Set_Parts(slots, sp_names, sp_lifes);
        Set_Parts(stocks, gp_names, gp_lifes);
    }