add content node
This commit is contained in:
parent
b08c6b98d4
commit
9c53e78623
@ -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.
|
||||
|
||||

|
BIN
docs/faqs/img/default-setting.png
Normal file
BIN
docs/faqs/img/default-setting.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
x
Reference in New Issue
Block a user