{"id":13145999,"url":"https://github.com/GameFrameX/com.gameframex.unity.operationclipboard","last_synced_at":"2025-03-07T11:33:00.225Z","repository":{"id":102917876,"uuid":"130677130","full_name":"GameFrameX/com.gameframex.unity.operationclipboard","owner":"GameFrameX","description":"Unity Operation Clipboard/Unity 操作Android和iOS 文字粘贴板","archived":false,"fork":false,"pushed_at":"2024-07-23T10:08:22.000Z","size":12266,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-27T03:54:01.735Z","etag":null,"topics":["android-sdk","clipboard","clipboard-copy","clipboard-extension","clipboard-management","clipboard-manager","unity","unity-3d","unity-asset","unity-editor","unity-scripts","unity3d","unity3d-games","unity3d-plugin"],"latest_commit_sha":null,"homepage":"https://blog.alianhome.com/BlankOperationClipboard","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GameFrameX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T10:03:10.000Z","updated_at":"2024-07-23T10:08:25.000Z","dependencies_parsed_at":"2024-04-12T15:09:47.354Z","dependency_job_id":"6bad785a-87e8-4bde-ae8a-db725b79f41e","html_url":"https://github.com/GameFrameX/com.gameframex.unity.operationclipboard","commit_stats":null,"previous_names":["alianblank/com.alianblank.blankoperationclipboard","alianblank/com.alianblank.gameframex.unity.blankoperationclipboard","alianblank/com.gameframex.unity.operationclipboard","gameframex/com.gameframex.unity.operationclipboard"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2Fcom.gameframex.unity.operationclipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2Fcom.gameframex.unity.operationclipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2Fcom.gameframex.unity.operationclipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameFrameX%2Fcom.gameframex.unity.operationclipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GameFrameX","download_url":"https://codeload.github.com/GameFrameX/com.gameframex.unity.operationclipboard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242383761,"owners_count":20119212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-sdk","clipboard","clipboard-copy","clipboard-extension","clipboard-management","clipboard-manager","unity","unity-3d","unity-asset","unity-editor","unity-scripts","unity3d","unity3d-games","unity3d-plugin"],"created_at":"2024-07-27T03:53:58.343Z","updated_at":"2025-03-07T11:32:59.909Z","avatar_url":"https://github.com/GameFrameX.png","language":"C#","funding_links":[],"categories":["Mobile"],"sub_categories":["FPS"],"readme":"# Unity 读写Android 和 iOS 的粘贴板插件\r\n\r\n该库主要服务于 `https://github.com/AlianBlank/GameFrameX` 作为子库使用。\r\n\r\n# 使用方式(三种方式)\r\n\r\n1. 直接在 `manifest.json` 文件中添加以下内容\r\n   ```json\r\n      {\"com.gameframex.unity.operationclipboard\": \"https://github.com/AlianBlank/com.gameframex.unity.operationclipboard.git\"}\r\n    ```\r\n2. 在Unity 的`Packages Manager` 中使用`Git URL` 的方式添加库,地址为：https://github.com/AlianBlank/com.gameframex.unity.operationclipboard.git\r\n\r\n3. 直接下载仓库放置到Unity 项目的`Packages` 目录下。会自动加载识别\r\n\r\n# 改动功能\r\n\r\n1. 增加 `link.xml` 的裁剪过滤\r\n\r\n# DEMO\r\n\r\n```csharp\r\n\r\nusing UnityEngine;\r\n\r\npublic class BlankOperationClipboardDemo : MonoBehaviour\r\n{\r\n    private string text = \"demoText\";\r\n    private string result = \"\";\r\n    void OnGUI()\r\n    {\r\n        text = GUILayout.TextField(text, GUILayout.Width(500), GUILayout.Height(100));\r\n        if (GUILayout.Button(\"SetValue\", GUILayout.Width(500), GUILayout.Height(100)))\r\n        {\r\n            BlankOperationClipboard.SetValue(text);\r\n        }\r\n        if (GUILayout.Button(\"GetValue\", GUILayout.Width(500), GUILayout.Height(100)))\r\n        {\r\n            result = BlankOperationClipboard.GetValue();\r\n        }\r\n        GUILayout.Label(result);\r\n    }\r\n}\r\n\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGameFrameX%2Fcom.gameframex.unity.operationclipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGameFrameX%2Fcom.gameframex.unity.operationclipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGameFrameX%2Fcom.gameframex.unity.operationclipboard/lists"}