Skip to content

Commit 1e2b357

Browse files
committed
Added assembly definition
1 parent 45bd6c7 commit 1e2b357

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "VRLabs.ModularShaderSystem",
3+
"references": [],
4+
"includePlatforms": [
5+
"Editor"
6+
],
7+
"excludePlatforms": [],
8+
"allowUnsafeCode": false,
9+
"overrideReferences": false,
10+
"precompiledReferences": [],
11+
"autoReferenced": true,
12+
"defineConstraints": [],
13+
"versionDefines": [],
14+
"noEngineReferences": false
15+
}

Editor/ModularShaderSystemDefinition.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Tools/EmbedLibraryWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private void CopyDirectory(string oldPath, string newPath, string subpath, bool
182182
{
183183
if (Path.GetFileName(file).Contains("EmbedLibraryWindow")) continue;
184184

185-
if (Path.GetExtension(file).Equals(".cs") || Path.GetExtension(file).Equals(".uxml"))
185+
if (new [] {".cs", ".uxml", ".asmdef"}.Contains(Path.GetExtension(file)))
186186
{
187187
var lines = new List<string>(File.ReadAllLines(file));
188188
var newLines = lines.Where(line => !line.Trim().StartsWith("//")).ToList();

0 commit comments

Comments
 (0)