diff --git a/docs/faqs/03-setup-cocos-scene.md b/docs/faqs/03-setup-cocos-scene.md index 2a55f42..d2967b1 100644 --- a/docs/faqs/03-setup-cocos-scene.md +++ b/docs/faqs/03-setup-cocos-scene.md @@ -22,3 +22,27 @@ Use this configuration to control which prefabs appear based on the current plat |--------------------|----------------------|-----------------------------------------------| | **Desktop Toggle** | ✅ Enabled | Show node on desktop | | **Mobile Toggle** | ❌ Disabled | Hide node on mobile | + + +## Node Spawner + +Spawns a prefab at the same position as the original node and then removes the node. + +#### Usage + +- On scene start, the prefab replaces the node. +1. Attach the script to a placeholder node. +2. Set the `prefab` property in the Inspector. + + +## UI Mobile Landscape / Portrait Position + +Positions a node at a specific location when the device is in landscape / portrait mode on mobile. + +#### Usage + +1. Attach the script to your node. +2. Set `default Position` in the Inspector. +3. The position updates automatically in mobile landscape / portrait mode. + +![Position](./img/default-setting.png) \ No newline at end of file diff --git a/docs/faqs/img/default-setting.png b/docs/faqs/img/default-setting.png new file mode 100644 index 0000000..c9cdbbd Binary files /dev/null and b/docs/faqs/img/default-setting.png differ