{"id":29142193,"url":"https://github.com/ethanz-code/preventnotendingparagraphuseunity","last_synced_at":"2025-06-30T19:10:17.926Z","repository":{"id":185399515,"uuid":"590935224","full_name":"ethanz-code/PreventNotEndingParagraphUseUnity","owner":"ethanz-code","description":"专门开发用于Unity程序，防止甲方不结尾款。","archived":false,"fork":false,"pushed_at":"2023-04-10T09:25:09.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T12:53:13.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethanz-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-19T15:00:33.000Z","updated_at":"2025-04-29T00:56:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ef79fa5-9137-43a7-85a4-aebae7edd7b3","html_url":"https://github.com/ethanz-code/PreventNotEndingParagraphUseUnity","commit_stats":null,"previous_names":["coder-zhangsir/preventnotendingparagraphuseunity","yassine-zhang/preventnotendingparagraphuseunity","ethanz-code/preventnotendingparagraphuseunity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethanz-code/PreventNotEndingParagraphUseUnity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2FPreventNotEndingParagraphUseUnity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2FPreventNotEndingParagraphUseUnity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2FPreventNotEndingParagraphUseUnity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2FPreventNotEndingParagraphUseUnity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanz-code","download_url":"https://codeload.github.com/ethanz-code/PreventNotEndingParagraphUseUnity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2FPreventNotEndingParagraphUseUnity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262834822,"owners_count":23371854,"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":[],"created_at":"2025-06-30T19:10:16.753Z","updated_at":"2025-06-30T19:10:17.919Z","avatar_url":"https://github.com/ethanz-code.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PreventNotEndingParagraphUseUnity\n## 介绍\n\u003e 此插件专门开发用于Unity程序，主要防止在双方交易金额较小，且甲方实在不结尾款的情况下使用。\n\n## 如何使用？\n  1. 将**PreventNotEndingParagraph.dll**复制粘贴到Unity项目工程**Asset/Plugin**目录下；\n  2. 在Unity任意对象上添加`PreventNotEndingParagraphBrain`组件；\n  3. 组件各属性描述:\n  \n     Field | Type | Description \n     ----- | ---- | ----------- \n     url|string|用于请求服务器数据的地址。\n     outputCopyright|bool|要打印开发者版权信息吗?\n     outputMasterSwitch|bool|输出调试信息的总开关。\n     forceToExit|bool|当读取服务器数据不同意继续运行或未识别时，直接退出当前游戏。\n     allowInfo|string|读取正确的信息。\n     denyInfo|string|读取错误消息。\n     getDataDelay|float|获取服务器数据的时间间隔。\n     runtimePlatform|Enum|当前游戏运行平台。\n     isIdentifiedData|bool|是否识别了服务器数据。\n     \n   4. 充分了解后，我们只需要在Server/Github/Giteee/COS（可以提供公有文件链接并且可以正常访问的平台）创建一个文本文件，并且将allowInfo或denyInfo其中一个的值输入进去保存；\n   5. 我们将文件链接复制并粘贴到Unity组件url后面输入框内；\n   6. 那么这样就可以正常调试了，只是在UnityEditor模式下并不能真正退出Play状态，考虑到在之后导出包的时候如果程序集,dll带有UnityEditor的调用方法代码都会报错导致不能正常导出，所以在Unity Editor测试只能通过Console输出信息来查看，在实机一切正常。\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanz-code%2Fpreventnotendingparagraphuseunity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanz-code%2Fpreventnotendingparagraphuseunity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanz-code%2Fpreventnotendingparagraphuseunity/lists"}