Files
CC-Framework.EditorExtend/Assets/CCTools/README.md
Foldcc_b1 33af3aa50f Bump version to 1.1.0 and optimize CCTools package
- Update package version to 1.1.0
- Modify README with new package version
- Add runtime assembly definition
- Update CHANGELOG with interface and feature improvements
- Optimize package metadata and documentation
2025-02-11 17:29:44 +08:00

35 lines
976 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CC-Tools RectTransform
Unity编辑器扩展为RectTransform组件添加Figma坐标支持。
## 功能特性
- 在RectTransform组件中直接显示和编辑Figma坐标\MasterGo坐标
- 支持实时坐标系转换
- 保持UI元素的原有属性pivot、anchor等
- 可通过菜单快速开启/关闭功能
## 安装方法
### 通过 Unity Package Manager
1. 打开 Package Manager 窗口
2. 点击左上角的 "+" 按钮
3. 选择 "Add package from git URL"
4. 输入: `http://private.lightyears.ltd:18650/foldcc/CC-Framework.EditorExtend.git#1.1.0`
### 手动安装
下载并导入 .unitypackage 文件到您的项目中。
## 使用方法
1. 选择任意带有RectTransform组件的UI元素
2. 在Inspector窗口中查看扩展的Figma坐标区域
3. 直接输入Figma坐标值UI元素将自动更新位置
可以通过菜单 "CC-Tools/RectTransform Tool/Enable Figma Update" 来启用或禁用该功能。
## 要求
- Unity 2019.4 或更高版本