Initial commit

This commit is contained in:
max 2021-12-22 11:55:51 +01:00
commit be3af5cba7
16 changed files with 250 additions and 0 deletions

36
.gitignore vendored Normal file
View File

@ -0,0 +1,36 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
[Ll]ogs/
Assets/AssetStoreTools*
# Visual Studio 2015 cache directory
/.vs/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
# Unity3D Generated File On Crash Reports
sysinfo.txt
# Builds
*.apk
*.unitypackage

6
CHANGELOG.md Normal file
View File

@ -0,0 +1,6 @@
# Change Log:
## 0.1.0
- Start Project:
- ...

View File

@ -0,0 +1,3 @@
# PACKAGENAME
Documentation.

View File

@ -0,0 +1,16 @@
{
"name": "COMPANYNAME.PACKAGENAME.Editor",
"references": [
"COMPANYNAME.PACKAGENAME"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": []
}

6
Editor/EditorExample.cs Normal file
View File

@ -0,0 +1,6 @@
using UnityEngine;
using UnityEditor;
namespace COMPANYNAME.PACKAGENAME.Editor
{
}

21
LICENSE.md Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 COMPANYNAME
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# [COMPANYNAME]() - PACKAGENAME
Description.
## Install
[Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html)
[Unitypackage](https://github.com/COMPANYNAME/PACKAGENAME/releases)
## LICENSE
Overall package is licensed under [MIT](/LICENSE.md), unless otherwise noted in the [3rd party licenses](/THIRD%20PARTY%20NOTICES.md) file and/or source code.

View File

@ -0,0 +1,12 @@
{
"name": "COMPANYNAME.PACKAGENAME",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": []
}

View File

@ -0,0 +1,5 @@
using UnityEngine;
namespace COMPANYNAME.PACKAGENAME
{
}

View File

@ -0,0 +1,2 @@
This is just a template package with a template sample folder structure.
Import of this example file is successful!

11
THIRD PARTY NOTICES.md Normal file
View File

@ -0,0 +1,11 @@
This package borrows code from various different sources, including:
# []()
### Relevant Files
- []()
### Credits
- Author: []()
- Source: []()
- License: []()

View File

@ -0,0 +1,20 @@
{
"name": "COMPANYNAME.PACKAGENAME.Editor.Tests",
"references": [
"COMPANYNAME.PACKAGENAME",
"COMPANYNAME.PACKAGENAME.Editor"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"optionalUnityReferences": [
"TestAssemblies"
]
}

View File

@ -0,0 +1,26 @@
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
namespace COMPANYNAME.PACKAGENAME.Editor.Tests
{
public class TestEditorExample
{
[Test]
public void TestEditorExampleSimplePasses()
{
// Use the Assert class to test conditions
}
[UnityTest]
public IEnumerator TestEditorExampleWithEnumeratorPasses()
{
// Use the Assert class to test conditions.
// Use yield to skip a frame.
yield return null;
}
}
}

View File

@ -0,0 +1,17 @@
{
"name": "COMPANYNAME.PACKAGENAME.Tests",
"references": [
"COMPANYNAME.PACKAGENAME"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"optionalUnityReferences": [
"TestAssemblies"
]
}

View File

@ -0,0 +1,25 @@
using UnityEngine;
using UnityEngine.TestTools;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
namespace COMPANYNAME.PACKAGENAME.Tests
{
public class TestRuntimeExample
{
[Test]
public void TestRuntimeExampleSimplePasses()
{
// Use the Assert class to test conditions
}
[UnityTest]
public IEnumerator TestRuntimeExampleEnumeratorPasses()
{
// Use the Assert class to test conditions.
// Use yield to skip a frame.
yield return null;
}
}
}

30
package.json Normal file
View File

@ -0,0 +1,30 @@
{
"name": "com.COMPANYNAME.PACKAGENAME",
"displayName": "Template Unity Package",
"version": "0.1.0",
"unity": "2019.3",
"unityRelease": "7f1",
"description": "This is a template package, used as a basis to build a bigger one.",
"category": "Tool",
"type": "tool",
"license": "MIT",
"author": {
"name": "Max Kruf",
"email": "info@maxartz15.com",
"url": "https://www.maxartz15.com"
},
"dependencies": {
"com.maxartz15.package1": "0.1.0"
},
"keywords": [
"COMPANYNAME",
"PACKAGENAME"
],
"samples": [
{
"displayName": "Example 1",
"description": "This sample is just an example",
"path": "Samples~/Example1"
}
]
}