加载器材流程
<pre><code class="language-plantuml">@startuml
|PlayerCore|
start
:读取器材序列化数据;
:根据器材Code加载器材资源AB包;
|AgentSystem|
:加载器材配置的AC接口;
:加载器材的Lua脚本;
|vlab-3dframework|
:绑定guid和GameObject;
|器材Lua|
:通知创建器材;
:bind交互AC接口;
:bind表现AC接口;
:bind引擎AC接口;
:反序列化器材状态;
end
@enduml</code></pre>
<h1>关键代码截图</h1>
<h2>根据器材数据创建器材</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a596f35c3c8f0a5f60c528180357650a" alt="" /></p>
<h2>添加luaAgent</h2>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/da564c55b36b1e1eec3a2c91c88da9a6" alt="" /></p>