mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-28 13:54:45 -05:00
書き間違え
This commit is contained in:
@@ -75,5 +75,8 @@ instance.ShowMeshes();
|
||||
When destroy, related assets(meshes, materials and textures etc...) is destroyed.
|
||||
|
||||
```cs
|
||||
GameObject.Destroy(instance);
|
||||
// GameObject.Destroy(instance);
|
||||
|
||||
// Destroy GameObject not RuntimeGltfInstance
|
||||
GameObject.Destroy(instance.gameObject);
|
||||
```
|
||||
|
||||
@@ -71,5 +71,8 @@ instance.ShowMeshes();
|
||||
|
||||
使用後に以下のように破棄してください。関連する Asset(Texture, Material, Meshなど)も破棄されます。
|
||||
```cs
|
||||
GameObject.Destroy(instance);
|
||||
// GameObject.Destroy(instance);
|
||||
|
||||
// RuntimeGltfInstance ではなくて、その GameObject を Destroy します。
|
||||
GameObject.Destroy(instance.gameObject);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user