Skip to content

SolarisNeko/neko233-fgui-code-generator

Repository files navigation

neko233-fgui-code-generator

FairyGUI Code Generator, used to generate FGUI code in Game Engine.

FairyGUI 代码生成器,用于生成 FGUI 代码

This project is open-sourced in the hope that it offers some practical value to game developers and contributes, in a small way, to the creativity of game development. -- neko233

这个项目开源是希望能为游戏开发者提供一点实用价值,也希望它能在推动游戏创作的路上,neko233 尽一点绵薄之力。

Support Game Engine (支持的游戏引擎)

  1. CocosCreator
  2. Unity

Language (语言)

  1. typescript (CocosCreator) [Default]
  2. C# (Unity)

How To Use ?

1. Install Plugin (安装插件)

# cd to your project plugins directory
cd {your-fgui-project}/plugins

# clone this repository
git clone https://github.com/SolarisNeko/neko233-fgui-code-generator.git

2. Refresh Plugin

Open your FGUI project, and open the plugin settings. refresh it.

image-20250411203433981

3. Config Code Generator Path

../Assets/CodeHotUpdate/AutoGenerateCode/fgui_generate_code/

Open Deploy Config

打开【发布配置】

image-20250411203717017

See here

image-20250411203643328

How To Switch Language Generate ? 切换语言生成

Modify Comment

修改注释

image-20250411204327727

Generate Code 生成代码

Path use relative Path Like

# Resources
../Assets/Resources/Resources-FGUI

# Code
../Assets/CodeHotUpdate/AutoGenerateCode/FGUI-Generate-Code

image-20250411204559174

About

FGUI 代码生成器。适配 cocos-creator-3.8.x / unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published