Article Directory
1. Create a new FGUI project
Download FairyGUI from the official website
https://fairygui.com/download
After downloading, unzip and open the exe file to use the editor
After selecting the project location and project name, create it
It should be noted here that the components that need to be controlled by code in Unity need to be renamed, and the default name starting with n cannot be used,
and the resources that need to be used in Unity need to be set to export
2. Create a new corresponding Unity project
Add FairyGUI in Asset Store and import it into Unity
3. Use in Unity (two methods, both methods need to export resources in the FGUI project to the Unity resource file before using Unity)
method one
1. Create a UIPanel of Fairy GUI in the Hierarchy window
2. Click on the Package name to select the package and components to be displayed
Method Two
1. Create a script file, load it during Awake, and mount it in the game object
Summarize
Unity builds FGUI initial project