mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 05:48:47 -05:00
deploy: 7e2a61e3c0
This commit is contained in:
@@ -125,7 +125,10 @@ instance.EnableUpdateWhenOffscreen();
|
||||
instance.ShowMeshes();
|
||||
</code></pre>
|
||||
<p>When destroy, related assets(meshes, materials and textures etc...) is destroyed.</p>
|
||||
<pre><code class="lang-cs">GameObject.Destroy(instance);
|
||||
<pre><code class="lang-cs">// GameObject.Destroy(instance);
|
||||
|
||||
// Destroy GameObject not RuntimeGltfInstance
|
||||
GameObject.Destroy(instance.gameObject);
|
||||
</code></pre>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -124,7 +124,10 @@ instance.EnableUpdateWhenOffscreen();
|
||||
instance.ShowMeshes();
|
||||
</code></pre>
|
||||
<p>使用後に以下のように破棄してください。関連する Asset(Texture, Material, Meshなど)も破棄されます。</p>
|
||||
<pre><code class="lang-cs">GameObject.Destroy(instance);
|
||||
<pre><code class="lang-cs">// GameObject.Destroy(instance);
|
||||
|
||||
// RuntimeGltfInstance ではなくて、その GameObject を Destroy します。
|
||||
GameObject.Destroy(instance.gameObject);
|
||||
</code></pre>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
@@ -4608,7 +4608,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "articles/en/vrm0/0_82_runtime_import.html",
|
||||
"hash": "H1v5NSOv4dzNelyXXS3M0q4L2WH2C9G/ZgReeGU3aH0="
|
||||
"hash": "z8zTH3HMabHiSm8YT5cw2M/f+gAv78v/fk29uKCzVBw="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
@@ -4851,7 +4851,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "articles/ja/vrm0/0_82_runtime_import.html",
|
||||
"hash": "09y+kuhgsFhiaGH46SsV+vct0N9DyuSyUy6i0VFw+cA="
|
||||
"hash": "EGqBNU3sPKGULDcyNk5yhlBYGpJL4NUjFWQH9rlDNZU="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
|
||||
Reference in New Issue
Block a user