您可以使用Third Party Notices.md
和LICENSE.md
文件来确保您的包满足任何法律要求。例如,以下是 Unity Timeline 包中的示例许可证文件
Unity Timeline copyright © 2017-2019 Unity Technologies ApS
Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License).
Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
如果您的包包含第三方元素,您可以在Third Party Notices.md
文件中包含许可证。您可以为每个要包含的许可证包含**组件名称**、**许可证类型**、**版本号**和**提供许可证详细信息**部分。例如
This package contains third-party software components governed by the license(s) indicated below:
Component Name: Semver
License Type: "MIT"
[SemVer License](https://github.com/myusername/semver/blob/master/License.txt)
Component Name: MyComponent
License Type: "MyLicense"
[MyComponent License](https://www.mycompany.com/licenses/License.txt)
注意:**提供许可证详细信息**部分中的 URL 应指向包含复制的许可证和版权信息(如果适用)的位置。如果许可证管理组件的特定版本,请尽可能提供该版本的 URL。