コード例 #1
0
    public static void Init()
    {
        func                    = new ysSkillBundleFunc();
        skillCombineList        = func.ReadSkillArtInfoList();
        displaySkillCombineList = skillCombineList;
        ammoArtInfoList         = func.ReadAmmoArtInfoList();
        buffArtInfoList         = func.ReadBuffArtInfoList();

        ammoArtList = func.ReadPrefabList(func.data.inputPaths.ammoArtDirecotyPath);
        buffArtList = func.ReadPrefabList(func.data.inputPaths.buffArtDirecotyPath);
    }
コード例 #2
0
    public static void BatchModeExportAssets()
    {
        ysSkillBundleFunc func = new ysSkillBundleFunc();

        func.LoadData();
        List <ysSkillBundleData.SkillCombieInfo> skillCombineList = func.ReadSkillArtInfoList();
        List <ysSkillBundleData.AmmoArtInfo>     ammoArtList      = func.ReadAmmoArtInfoList();
        List <ysSkillBundleData.BuffArtInfo>     buffArtList      = func.ReadBuffArtInfoList();

        func.ExportAllSkillArtPrefab(skillCombineList);
        func.ExportAllAmmoArtPrefab(ammoArtList);
        func.ExportAllBuffArtPrefab(buffArtList);
    }