mirror of
				https://github.com/maxartz15/Validator.git
				synced 2025-11-03 21:25:59 +01:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										36
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal 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
									
								
							
							
						
						
									
										6
									
								
								CHANGELOG.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
# Change Log:
 | 
			
		||||
 | 
			
		||||
## 0.1.0
 | 
			
		||||
 | 
			
		||||
- Start Project:
 | 
			
		||||
    - ...
 | 
			
		||||
							
								
								
									
										3
									
								
								Documentation~/PACKAGENAME.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Documentation~/PACKAGENAME.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
# PACKAGENAME
 | 
			
		||||
 | 
			
		||||
Documentation.
 | 
			
		||||
							
								
								
									
										16
									
								
								Editor/COMPANYNAME.PACKAGENAME.Editor.asmdef
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Editor/COMPANYNAME.PACKAGENAME.Editor.asmdef
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										6
									
								
								Editor/EditorExample.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
using UnityEditor;
 | 
			
		||||
 | 
			
		||||
namespace COMPANYNAME.PACKAGENAME.Editor
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										21
									
								
								LICENSE.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								LICENSE.md
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
										Normal 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.
 | 
			
		||||
							
								
								
									
										12
									
								
								Runtime/COMPANYNAME.PACKAGENAME.asmdef
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Runtime/COMPANYNAME.PACKAGENAME.asmdef
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "COMPANYNAME.PACKAGENAME",
 | 
			
		||||
    "references": [],
 | 
			
		||||
    "includePlatforms": [],
 | 
			
		||||
    "excludePlatforms": [],
 | 
			
		||||
    "allowUnsafeCode": false,
 | 
			
		||||
    "overrideReferences": false,
 | 
			
		||||
    "precompiledReferences": [],
 | 
			
		||||
    "autoReferenced": true,
 | 
			
		||||
    "defineConstraints": [],
 | 
			
		||||
    "versionDefines": []
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								Runtime/RuntimeExample.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Runtime/RuntimeExample.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
namespace COMPANYNAME.PACKAGENAME
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										2
									
								
								Samples~/Example1/Example.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								Samples~/Example1/Example.txt
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										11
									
								
								THIRD PARTY NOTICES.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
This package borrows code from various different sources, including:
 | 
			
		||||
 | 
			
		||||
# []()
 | 
			
		||||
 | 
			
		||||
### Relevant Files
 | 
			
		||||
- []()
 | 
			
		||||
 | 
			
		||||
### Credits
 | 
			
		||||
- Author: []()
 | 
			
		||||
- Source: []()
 | 
			
		||||
- License: []()
 | 
			
		||||
							
								
								
									
										20
									
								
								Tests/Editor/COMPANYNAME.PACKAGENAME.Editor.Tests.asmdef
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Tests/Editor/COMPANYNAME.PACKAGENAME.Editor.Tests.asmdef
									
									
									
									
									
										Normal 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"
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								Tests/Editor/TestEditorExample.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								Tests/Editor/TestEditorExample.cs
									
									
									
									
									
										Normal 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;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								Tests/Runtime/COMPANYNAME.PACKAGENAME.Tests.asmdef
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Tests/Runtime/COMPANYNAME.PACKAGENAME.Tests.asmdef
									
									
									
									
									
										Normal 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"
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										25
									
								
								Tests/Runtime/TestRuntimeExample.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								Tests/Runtime/TestRuntimeExample.cs
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										30
									
								
								package.json
									
									
									
									
									
										Normal 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"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user