コイン生成
dx12_spawn_coinSpawn a golden coin collectible in the scene with a single call. Specify position and name to place coins for platform game levels.
Instructions
コイン風の収集アイテムを1コールで生成(金色の薄い円盤状スフィア + tag 'coin' + 金属光沢)。足場ゲームの収集物置きに。position/name 指定可。回転やスコア加算は別途 Lua/trigger で付ける。{entityId, name, sceneGeneration} を返す。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | エンティティ名。省略時 'Coin'。 | |
| position | No | [x,y,z]。省略時 [0,0,0]。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |