-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
111 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"io.linefusion.unity.generator": patch | ||
"io.linefusion.unity": patch | ||
--- | ||
|
||
fix attributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/Linefusion.Generator.Editor/src/Functions/PathFunctions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Security.Cryptography; | ||
using System.Text; | ||
using Linefusion.Generator.IO; | ||
using Scriban; | ||
using Scriban.Runtime; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Linefusion.Generators.Functions | ||
{ | ||
public class PathFunctions | ||
{ | ||
public static string combine( | ||
TemplateContext context, | ||
params string[] fragments | ||
) | ||
{ | ||
return Path.Combine(fragments).Replace('\\', '/'); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.5 KB
(100%)
unity/Packages/io.linefusion.unity.generator/Assemblies/Linefusion.Generator.Editor.dll
Binary file not shown.