Giter VIP home page Giter VIP logo

unitydemo_depnddatabase's Introduction

UnityDemo_DepndDataBase

json文件保存依懒文件的md5,用来判断是否需要重新生成数据

代码调用

DependDataBase dababase = new DependDataBase(absPath);
var isNeedUpdate = dababase.IsNeedUpdate("SampleScene", dependArray, "SampleScene");
if (isNeedUpdate)
{
    Debug.Log("需要刷新");
}

生成json文件示例

{
    "SampleScene" : {
        "Assets/Scenes/SampleScene.unity" : "836349a24b7c7f2423b1c57264f1be8c",
        "Assets/Scenes/SampleScene.unity.meta" : "097fac763945c6bda1035d2a0a22dc50",
        "Assets/Scenes/DependDatabaseTest.cs"  : "6c420e2056cd1585a84dbce2112f56eb",
        "Assets/Scenes/DependDatabaseTest.cs.meta" : "0e20b3cf026ca49cdde33c53daffaac1"
    }
}

unitydemo_depnddatabase's People

Contributors

xieliujian avatar

Stargazers

HHHHHHHHHHHHHHHHHHHHHCS avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.