Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Templates
Systems
screenshot
1/11
loading
Widget Services streamlines the process of connecting user interface components and developing workflows for inter-scene and prefab messaging.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version
Built-in
URP
HDRP
2022.3.29f1
Compatible
Compatible
Compatible
Description

////////////////////////////////////////

Purpose

////////////////////////////////////////

Monobehaviours to load scenes and intantiate prefabs. The template objects can be either prefabricated game objects or addressable memory content.

Create lists of Audio Clips and Textures to pass to the Widget Services.

Code methods to create behaviours on game objects to inter communicate between user interface components like the text or button ui behaviours.

The methods to send messages can be added at runtime or edit time.

The goal is to allow for runtime UI creation and automated testing.


⦁Workflow for Sending Data: Efficiently send data between addressable scenes and addressable prefabs.

⦁Data Connection Implementation: Connect user interface components input and output sockets for transfering objects. Save and load data for each widget.

⦁Scene and Screen Handlers: Load and unload addressable scenes and prefabs seamlessly. Handles screen orientations and scaling.

⦁Testing and Automation Interface: Test and automate using data connections by sending messages to widgets.


Works in Edit Mode and Run Time.


Each UI behavior includes a component called a Widget, such as Button Widget. The Button Widget handles the heavy lifting by implementing inputs and outputs that connect to UI behavior methods. You can set the text label or receive the button click with the label as the data. Messages are sent with object GUIDs, decoded by the destination object for a method, and parsed for results that are set in the UI behavior.


Technical details

Example System Workflow


⦁Add Components: Add a panel ui component, a PanelWidget, a button component and a ButtonWidget so you create the typical UI elements.


⦁Event Handling: Add a ToWidget component to the button widget. Use the To Widget to send events to specific widgets by GUID. For example, the button widget can toggle the active state of the toggle switch. The button can also send its label to an input field and vice versa. (This is the example screen with four shots of the Unity Editor for the Panel, Button, Inputfield and Back Button.


The asset is simple enough and the code has been used in previous Unity versions over the years of development. It should enhance the workflows of any Project.


Documentation:

https://holowerkz.com/widget-services/

https://www.youtube.com/@holowerkz


Created with AI

A.I. Dali was used to create the images for the application demo.

A.I. CoPilot was used to clean up the verbage for text prompts and data used in the documentation.

Widget Services

(not enough ratings)
2 users have favourite this asset
(2)
$15
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
See details.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
License type
Single Entity
File size
9.5 MB
Latest version
1.0.1
Latest release date
Sep 13, 2024
Original Unity version
2022.3.29 or higher
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members