Skip to content

Instantly share code, notes, and snippets.

@bonahona
Created October 17, 2023 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bonahona/4c4f92ecef14626d0892fe7f2a278efb to your computer and use it in GitHub Desktop.
Save bonahona/4c4f92ecef14626d0892fe7f2a278efb to your computer and use it in GitHub Desktop.
Unity Debug.Log snippet for Visual Studio
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>d</Title>
<Shortcut>d</Shortcut>
<Description>Unity Debug.Log()</Description>
<Author>Collision Bear</Author>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>LogLine</ID>
<ToolTip>Line to Log</ToolTip>
<Default></Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[Debug.Log("$LogLine$");$end$]]></Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment