Skip to content

Commit

Permalink
Three snippets for Visual Studio were added.
Browse files Browse the repository at this point in the history
  • Loading branch information
nubick committed Sep 17, 2016
1 parent d1fa1c1 commit 8762dda
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
18 changes: 18 additions & 0 deletions VSSnippets/dlog.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Put Debug.Log("") string.</Title>
<Shortcut>dlog</Shortcut>
<Description>Code snippet for Unity Debug.Log()</Description>
<Author>Oleg Andrushko - nubick</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Code Language="csharp"><![CDATA[Debug.Log("$end$");]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
20 changes: 20 additions & 0 deletions VSSnippets/glh.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>GUILayout Begin and End Horizontal</Title>
<Shortcut>glh</Shortcut>
<Description>Code snippet for Unity GUILayout Begin and End Horizontal()</Description>
<Author>Oleg Andrushko - nubick</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Code Language="csharp"><![CDATA[GUILayout.BeginHorizontal();
$end$
GUILayout.EndHorizontal();]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
20 changes: 20 additions & 0 deletions VSSnippets/glv.snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>GUILayout Begin and End Vertical</Title>
<Shortcut>glv</Shortcut>
<Description>Code snippet for Unity GUILayout Begin and End Vertical()</Description>
<Author>Oleg Andrushko - nubick</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Code Language="csharp"><![CDATA[GUILayout.BeginVertical();
$end$
GUILayout.EndVertical();]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>

0 comments on commit 8762dda

Please sign in to comment.