Skip to content

Commit 152e7cc

Browse files
authored
main camera caching snippet
1 parent 98df780 commit 152e7cc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Helpers/cam.snippet

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>cam</Title>
6+
<Shortcut>cam</Shortcut>
7+
<Description>Code snippet for Camera caching</Description>
8+
<Author></Author>
9+
</Header>
10+
<Snippet>
11+
<Declarations>
12+
<Literal Editable="false"></Literal>
13+
</Declarations>
14+
<Code Language="csharp"><![CDATA[Camera cam;
15+
cam = Camera.main;
16+
$end$]]></Code>
17+
</Snippet>
18+
</CodeSnippet>
19+
</CodeSnippets>

0 commit comments

Comments
 (0)