[Game framework] Unity resource management and packaging AssetBundle tool

foreword

If you want to know about AssetBundle and the logic implemented by the resource manager, you can read this article first: 【AssetBundle】Unity AssetBundle packaging and resource loading analysis .

project

Demo. unitypackage

Effect: load resources at runtime
insert image description here

Instructions for use

  • The Entrance script is the entrance, and you can change it according to your needs. It only needs to execute those life cycle functions as usual.

  • There are two ways to load resources. If you tick it, you use bundle.
    insert image description here

  • The packaging configuration is in Asset/AssetBundleBuilder/Editor/AssetBundleBuildUser.

  • Configuration is written directly into the code. The reason for not using Excel is to reduce specifications and reduce learning costs.
    insert image description hereinsert image description here

  • Editor entry. Click to execute.
    insert image description hereinsert image description here

Guess you like

Origin blog.csdn.net/sinat_34870723/article/details/104610135