https://github.com/am1goo/unity-plugin-license-manager
A simple tool to find all LICENSE files in Unity project and get a report on all these files. This is might be very helpful if you need to reveal info about all third-party assets used in your project.
https://github.com/am1goo/unity-plugin-license-manager
apache collector creativecommon credits gnu gpl license manager mit
Last synced: about 1 month ago
JSON representation
A simple tool to find all LICENSE files in Unity project and get a report on all these files. This is might be very helpful if you need to reveal info about all third-party assets used in your project.
- Host: GitHub
- URL: https://github.com/am1goo/unity-plugin-license-manager
- Owner: am1goo
- License: mit
- Created: 2025-02-21T07:41:13.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-24T14:05:27.000Z (5 months ago)
- Last Synced: 2025-03-01T11:44:41.807Z (5 months ago)
- Topics: apache, collector, creativecommon, credits, gnu, gpl, license, manager, mit
- Language: C#
- Homepage: https://github.com/am1goo/unity-plugin-license-manager
- Size: 104 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# License Manager for Unity
A simple tool to find all LICENSE files in Unity project and get a report on all these files. \
This is might be very helpful if you need to reveal info about all third-party assets used in your project. \
Works with Assets and Packages folders.#### How to use?
1. Create `LicenseCollector` asset via `Create -> License Manager -> Collector` context menu somethere in project
2. Press button **Refresh**
3. To get runtime report use this code:
```cs
[SerializeField]
private LicenseManager.LicenseCollector _collector;void Start()
{
var report = _collector.GetReport();
foreach (var entry in report)
{
//do something here with each entry
string name = entry.name;
string content = entry.content;
string license = entry.license;
LicenseManager.LicenseRemarks remarks = entry.remarks;if (remarks.HasFlag(LicenseManager.LicenseRemarks.NonCommercial))
{
Debug.LogWarning($"{name} asset could be used but only in non-commercial projects, because it has {license}");
}
if (remarks.HasFlag(LicenseManager.LicenseRemarks.Viral))
{
Debug.LogError($"{name} asset has viral {license} and probably cannot be placed in this project");
}
}
}
```#### Unity Plugin
The latest version can be installed via [package manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html) using following git URL:
```
https://github.com/am1goo/unity-plugin-license-manager.git#0.0.9
```## Screenshots
1. `LicenseCollector` settings2. Visual report of all collected licenses in project
## What next?
- [x] Build post-process callback (to get correct report up-to-date)
- [ ] More supported licenses (except the most popular ones)## Tested in
- **Unity 2020.3.x**
- **Unity 2022.3.x**## Contribute
Contribution in any form is very welcome. Bugs, feature requests or feedback can be reported in form of Issues.