Created
July 12, 2016 00:53
-
-
Save float1251/f09d579ae5ac926e51e6b89cbaddc3f4 to your computer and use it in GitHub Desktop.
visual studioで使用する、Unity SerializeFieldのsnippet
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
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>serialize_field</Title> | |
<Shortcut>sfield</Shortcut> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>type</ID> | |
<Default>int</Default> | |
</Literal> | |
<Literal> | |
<ID>name</ID> | |
<Default>name</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="CSharp"> | |
[SerializeField] | |
$type$ $name$; | |
</Code> | |
</Snippet> | |
</CodeSnippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment