GameFrameX GlobalConfig Component - A global configuration manager that stores configuration information retrieved from the server. It manages application version check URLs, resource version check URLs, and other globally accessible configuration data.
- App Version URL - Store and manage the URL for checking application version updates
- Resource Version URL - Store and manage the URL for checking game resource version updates
- Custom Content - Store additional content or data for in-game display or business logic
- Host Server URL - Store the host server URL for backend server connections
- Open Package Manager in Unity Editor
- Click the "+" button and select "Add package from git URL"
- Enter the following URL:
https://github.com/GameFrameX/com.gameframex.unity.globalconfig.git
Add the following to your project's Packages/manifest.json:
{
"dependencies": {
"com.gameframex.unity.globalconfig": "https://github.com/GameFrameX/com.gameframex.unity.globalconfig.git"
}
}- Download the latest release package
- Extract it to your project's
Packagesdirectory - Unity will automatically recognize and load the package
- Add Component: Add
GlobalConfigComponentto any GameObject in your Unity scene - Set Properties: Configure
CheckAppVersionUrl,CheckResourceVersionUrl,Content, andHostServerUrlvalues in the Unity Inspector panel, or set them dynamically via code at runtime - Version Management: Use
CheckAppVersionUrlandCheckResourceVersionUrlto manage game version control and resource update workflows - Global Access: Access the
GlobalConfigComponentinstance from anywhere in your game to retrieve global configuration information
See CHANGELOG.md for details.
This project is licensed - see LICENSE.md for details.
