1<!DOCTYPE html> 2<html lang="en"> 3<head> 4 <!-- Google tag (gtag.js) -->
vendor: 66 bytes, lines 4-5
4 5 <script async src="https://www.googletagmanager.com/gtag/js?id=
5G-CBSK1QXVZL
vendor: 14 bytes, lines 5-6
5"></script> 6
6<script> 7
vendor: 140 bytes, lines 7-11
7window.dataLayer = window.dataLayer || []; 8 function gtag(){dataLayer.push(arguments);} 9 gtag('js', new Date()); 10 11 gtag('config', '
11G-CBSK1QXVZL
vendor: 6 bytes, lines 11-12
11'); 12
12</script>
12 13
13<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4199226001427614" 14 crossorigin="anonymous"></script>
14 15 <meta charset="UTF-8"> 16 <title>Unity Cheat Sheet - Complete Guide to Unity Development Patterns and Practices</title> 17 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 18 19 <!-- Primary Meta Tags --> 20 <meta name="title" content="Unity Cheat Sheet - A Guide to Unity Development Patterns and Practices"> 21 <meta name="description" content="A comprehensive guide to Unity game development, including design patterns, best practices, code examples, and practical use cases for game developers."> 22 <meta name="keywords" content="unity, game development, design patterns, unity3d, c#, programming, game design, unity tutorial, unity guide"> 23 <meta name="author" content="Ozan KaÅıkçı"> 24 <meta name="robots" content="index, follow"> 25 26 <!-- Open Graph / Facebook --> 27 <meta property="og:type" content="website"> 28 <meta property="og:url" content="https://ozankasikci.github.io/unity-cheat-sheet/"> 29 <meta property="og:title" content="Unity Cheat Sheet - Complete Guide to Unity Development Patterns and Practices"> 30 <meta property="og:description" content="A comprehensive guide to Unity game development, including design patterns, best practices, code examples, and practical use cases for game developers."> 31 <meta property="og:image" content="https://ozankasikci.github.io/unity-cheat-sheet/assets/og-image.png"> 32 33 <!-- Twitter --> 34 <meta property="twitter:card" content="summary_large_image"> 35 <meta property="twitter:url" content="https://ozankasikci.github.io/unity-cheat-sheet/"> 36 <meta property="twitter:title" content="Unity Cheat Sheet - Complete Guide to Unity Development Patterns and Practices"> 37 <meta property="twitter:description" content="A comprehensive guide to Unity game development, including design patterns, best practices, code examples, and practical use cases for game developers."> 38 <meta property="twitter:image" content="https://ozankasikci.github.io/unity-cheat-sheet/assets/og-image.png"> 39 40 <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> 41 <link rel="canonical" href="https://ozankasikci.github.io/unity-cheat-sheet/"> 42 43 <!-- Theme --> 44 <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css" title="docsify-darklight-theme" type="text/css"> 45 46 <!-- Favicons --> 47 <link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png"> 48 <link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png"> 49 <link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png"> 50 <link rel="manifest" href="assets/favicon/site.webmanifest"> 51 <link rel="mask-icon" href="assets/favicon/safari-pinned-tab.svg" color="#000000"> 52 <meta name="msapplication-TileColor" content="#ffffff"> 53 <meta name="theme-color" content="#ffffff"> 54 55 <!-- Schema.org markup for Google --> 56
56<script type="application/ld+json"> 57 { 58 "@context": "https://schema.org", 59 "@type": "TechnicalArticle", 60 "headline": "Unity Cheat Sheet - Complete Guide to Unity Development Patterns and Practices", 61 "description": "A comprehensive guide to Unity game development, including design patterns, best practices, code examples, and practical use cases for game developers.", 62 "author": { 63 "@type": "Person", 64 "name": "Ozan Kasikci" 65 }, 66 "publisher": { 67 "@type": "Organization", 68 "name": "Unity Cheat Sheet", 69 "logo": { 70 "@type": "ImageObject", 71 "url": "https://ozankasikci.github.io/unity-cheat-sheet/assets/favicon/android-chrome-512x512.png" 72 } 73 }, 74 "datePublished": "2023-01-01", 75 "dateModified": "2024-01-21", 76 "image": "https://ozankasikci.github.io/unity-cheat-sheet/assets/og-image.png", 77 "url": "https://ozankasikci.github.io/unity-cheat-sheet/", 78 "programmingLanguage": ["C#", "Unity"], 79 "about": ["Game Development", "Unity3D", "Design Patterns", "Programming"] 80 } 81 </script>
81 82</head> 83<body> 84 <div id="app"></div> 85 <a href="https://github.com/ozankasikci/unity-cheat-sheet" class="github-corner" aria-label="View source on GitHub"> 86 <svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"> 87 <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path> 88 <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path> 89 <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path> 90 </svg> 91 </a> 92 <style> 93 .github-corner:hover .octo-arm { 94 animation: octocat-wave 560ms ease-in-out; 95 } 96 @keyframes octocat-wave { 97 0%, 100% { transform: rotate(0); } 98 20%, 60% { transform: rotate(-25deg); } 99 40%, 80% { transform: rotate(10deg); } 100 } 101 @media (max-width: 500px) { 102 .github-corner:hover .octo-arm { 103 animation: none; 104 } 105 .github-corner .octo-arm { 106 animation: octocat-wave 560ms ease-in-out; 107 } 108 } 109 110 /* Edit link styling */ 111 .markdown-section a[href*="github.com/ozankasikci/unity-cheat-sheet/blob/master"] { 112 float: right; 113 text-decoration: none; 114 color: #42b983; 115 font-weight: 600; 116 transition: color 0.3s; 117 padding-top: 3px; 118 margin-top: 10px; 119 } 120 .markdown-section a[href*="github.com/ozankasikci/unity-cheat-sheet/blob/master"]:hover { 121 color: #3aa876; 122 } 123 </style> 124
124<script> 125 window.$docsify = { 126 name: 'Unity Cheat Sheet', 127 repo: 'ozankasikci/unity-cheat-sheet', 128 loadSidebar: true, 129 subMaxLevel: 3, 130 auto2top: true, 131 search: { 132 maxAge: 86400000, 133 paths: 'auto', 134 placeholder: 'Search Unity Cheat Sheet', 135 noData: 'No Results Found', 136 depth: 6, 137 hideOtherSidebarContent: false, 138 }, 139 pagination: { 140 previousText: 'Previous', 141 nextText: 'Next', 142 crossChapter: true, 143 crossChapterText: true, 144 }, 145 copyCode: { 146 buttonText: 'Copy', 147 errorText: 'Error', 148 successText: 'Copied!' 149 }, 150 lastUpdated: { 151 text: 'Last updated: {date} · Made with â¤ï¸ by <a href="https://longhorn.games" target="_blank">Longhorn Games</a>', 152 format: 'YYYY/MM/DD', 153 branch: 'master', 154 path: 'docs', 155 placeholder: 'Loading...', 156 fallbackText: 'Unknown' 157 }, 158 alias: { 159 '/.*/_sidebar.md': '/_sidebar.md' 160 }, 161 plugins: [ 162 function(hook, vm) { 163 hook.beforeEach(function(html) { 164 var url = 'https://github.com/ozankasikci/unity-cheat-sheet/blob/master/docs/' + vm.route.file; 165 var editHtml = '[:memo: Edit Document on GitHub](' + url + ')\n'; 166 return html + '\n\n\n' + editHtml; 167 }); 168 } 169 ], 170 darklightTheme: { 171 defaultTheme: 'light', 172 siteFont: 'Source Sans Pro, Helvetica Neue', 173 codeFontFamily: 'Roboto Mono, Monaco, courier, monospace', 174 bodyFontSize: '15px', 175 dark: { 176 accent: '#42b983', 177 background: '#091a28', 178 toogleBackground: '#ffffff', 179 textColor: '#b4b4b4' 180 }, 181 light: { 182 accent: '#42b983', 183 background: '#ffffff', 184 toogleBackground: '#091a28', 185 textColor: '#34495e' 186 } 187 } 188 } 189 </script>
189 190
190<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
190 191
191<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
191 192
192<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
192 193
193<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
193 194
194<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-csharp.min.js"></script>
194 195
195<script src="assets/js/last-updated.js"></script>
195 196
196<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"></script>
196 197</body> 198</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.