Switch Layout Control - Bakin Script
A downloadable script
Description
With this script, you can show/hide certain aspects of a layout based on whether a switch is turned on or off.
How to install
1. Download and extract the "Switch Layout Control" zip file.
2. Copy the "LayoutShowHide.cs" file and paste it into your Bakin project's "script" directory. If you don't see this folder, just create one and call it "script".
How to use
1. With Bakin open, click to open the Layout Tool.
2. Open the relevant layout from the "Layout to be assigned" section.
3. Select the relevant layout part from the "Layout Parts" section (this can be a parent container or any of its child elements.
4. In the "Management Tags + Notes" section, add "$ContainerHideSwitch" followed by the switch name in brackets (e.g. "$ContainerHideSwitch(MySwitchNameHere)").
Note: Feel free to replace "MySwitchNameHere" with whatever you like. The important thing is that the name of your switch and what you type in the Management Tags + Notes field matches
5. When the switch is turned on in Bakin, the layout part will be hidden when the layout is displayed.
Status | Released |
Category | Game mod |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Dale Green |
Tags | bakin, bakinplugins, bakinscripts, PuzzleScript, rpgbakin, rpgdeveloperbakin, scripts |
Leave a comment
Log in with itch.io to leave a comment.