Hello
We are PLAYYA
A group of playyas creating playyable games with playya's experience always first in our minds
We also create Unity assets
We would love to hear from you!
Send us a message at [email protected] and we will get back to you as soon as we can!
The Custom Button prefab is a flexible and highly customizable UI component designed for Unity developers. It allows you to create buttons with tailored shapes, colors, animations, and interactivity - all without the need for coding or photoshop.
There are three ways to get started with Custom Button:
Enable_WithoutEvents, and ensure the button is Selectable (see step 7).Disable or Disable_WithoutEvents functions in the CustomButtonHelperFunctions component.There are global settings that affect all Custom Button instances. These include selecting the default prefab for new buttons, managing available fonts and sounds, setting animation curves, and configuring the time interval between undo history entries.
To access these settings, click Settings under Window/Custom Button in the menu bar.
Adding a font: When adding new fonts, the font assets must be created with the FontAssetGenerator tool under Window/TextMeshPro. Once created, open the Custom Button Global Settings and add an item to "Available Fonts". Once added, click the button labeled Fix Font Shaders under the top of the "Available Fonts" foldout. This will change the font asset's shader to use the CustomTextMeshPro shader.
This component provides a cleaner interface for calling public functions to change a Custom Button's state.
When using Unity Events, prefer using CustomButtonHelperFunctions over directly referencing the Custom Button component. Look for methods starting with CustomButton_. Functions that end with _NoEvents will change the button state without triggering any Unity Events registered under the Actions foldout.
This package is distributed under the terms of the Unity Asset Store End User License Agreement (EULA). By purchasing and using this package, you agree to abide by the terms set forth in the EULA, which governs the usage, modification, and distribution of this package and its contents.
See the full Unity Asset Store EULA: https://unity.com/legal/as_terms
The fonts included in this package are sourced from Google Fonts and are licensed under the Open Font License (OFL). This allows you to use them freely for both personal and commercial projects, including embedding, modifying, and redistributing them as long as the OFL terms are followed.
The included sound effects and audio files are licensed under the Creative Commons Zero (CC0) license. They are free to use, modify, and redistribute — no attribution required — for both personal and commercial use.
For any inquiries or support requests, please contact us at [email protected].