Skip to content

Commit 8762dda

Browse files
committed
Three snippets for Visual Studio were added.
1 parent d1fa1c1 commit 8762dda

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

VSSnippets/dlog.snippet

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+
<CodeSnippet Format="1.0.0">
4+
<Header>
5+
<Title>Put Debug.Log("") string.</Title>
6+
<Shortcut>dlog</Shortcut>
7+
<Description>Code snippet for Unity Debug.Log()</Description>
8+
<Author>Oleg Andrushko - nubick</Author>
9+
<SnippetTypes>
10+
<SnippetType>Expansion</SnippetType>
11+
</SnippetTypes>
12+
</Header>
13+
<Snippet>
14+
<Code Language="csharp"><![CDATA[Debug.Log("$end$");]]>
15+
</Code>
16+
</Snippet>
17+
</CodeSnippet>
18+
</CodeSnippets>

VSSnippets/glh.snippet

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+
<CodeSnippet Format="1.0.0">
4+
<Header>
5+
<Title>GUILayout Begin and End Horizontal</Title>
6+
<Shortcut>glh</Shortcut>
7+
<Description>Code snippet for Unity GUILayout Begin and End Horizontal()</Description>
8+
<Author>Oleg Andrushko - nubick</Author>
9+
<SnippetTypes>
10+
<SnippetType>Expansion</SnippetType>
11+
</SnippetTypes>
12+
</Header>
13+
<Snippet>
14+
<Code Language="csharp"><![CDATA[GUILayout.BeginHorizontal();
15+
$end$
16+
GUILayout.EndHorizontal();]]>
17+
</Code>
18+
</Snippet>
19+
</CodeSnippet>
20+
</CodeSnippets>

VSSnippets/glv.snippet

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+
<CodeSnippet Format="1.0.0">
4+
<Header>
5+
<Title>GUILayout Begin and End Vertical</Title>
6+
<Shortcut>glv</Shortcut>
7+
<Description>Code snippet for Unity GUILayout Begin and End Vertical()</Description>
8+
<Author>Oleg Andrushko - nubick</Author>
9+
<SnippetTypes>
10+
<SnippetType>Expansion</SnippetType>
11+
</SnippetTypes>
12+
</Header>
13+
<Snippet>
14+
<Code Language="csharp"><![CDATA[GUILayout.BeginVertical();
15+
$end$
16+
GUILayout.EndVertical();]]>
17+
</Code>
18+
</Snippet>
19+
</CodeSnippet>
20+
</CodeSnippets>

0 commit comments

Comments
 (0)