Skip to content

Commit bdfedfd

Browse files
committed
restructuring project for package compliance
1 parent 06384bc commit bdfedfd

File tree

458 files changed

+360
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+360
-155
lines changed

CHANGELOG.md

+11

CHANGELOG.md.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CONTRIBUTING.md

+11

CONTRIBUTING.md.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityEngine.AssetGraph/Examples.meta Editor.meta

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/EditorExample.cs

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// -----------------------------------------------------------------------------
2+
//
3+
// Use this editor example C# file to develop editor (non-runtime) code.
4+
//
5+
// -----------------------------------------------------------------------------
6+
7+
namespace UnityEditor.SubGroup.YourPackageName
8+
{
9+
/// <summary>
10+
/// Provide a general description of the public class.
11+
/// </summary>
12+
/// <remarks>
13+
/// Packages require XmlDoc documentation for ALL Package APIs.
14+
/// https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments
15+
/// </remarks>
16+
public class MyPublicEditorExampleClass
17+
{
18+
/// <summary>
19+
/// Provide a description of what this private method does.
20+
/// </summary>
21+
/// <param name="parameter1"> Description of parameter 1 </param>
22+
/// <param name="parameter2"> Description of parameter 2 </param>
23+
/// <param name="parameter3"> Description of parameter 3 </param>
24+
/// <returns> Description of what the function returns </returns>
25+
public int CountThingsAndDoStuff(int parameter1, int parameter2, bool parameter3)
26+
{
27+
return parameter3 ? (parameter1 + parameter2) : (parameter1 - parameter2);
28+
}
29+
}
30+
}

UnityEngine.AssetGraph/EditorRuntimeSupport/AssetBundleBuildMap.cs.meta Editor/EditorExample.cs.meta

+2-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

UnityEngine.AssetGraph/Editor/SettingTemplate/setting.shader Editor/SettingTemplate/setting.shader

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax.(2017.3)
1+
// Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax.
2+
3+
// Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax.(2017.3)
24
Shader "Custom/setting" {
35
Properties {
46
_Color ("Color", Color) = (1,1,1,1)
@@ -36,8 +38,8 @@ Shader "Custom/setting" {
3638
// put more per-instance properties here
3739
UNITY_INSTANCING_BUFFER_END(Props)
3840
#else
39-
UNITY_INSTANCING_CBUFFER_START(Props)
40-
UNITY_INSTANCING_CBUFFER_END
41+
UNITY_INSTANCING_BUFFER_START(Props)
42+
UNITY_INSTANCING_BUFFER_END(Props)
4143
#endif
4244

4345
void surf (Input IN, inout SurfaceOutputStandard o) {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)