index.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <!DOCTYPE html>
  2. <html class="writer-html5" lang="en" >
  3. <head>
  4. <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
  5. <meta property="article:modified_time" content="2026-02-18T11:16:10+00:00" /><meta property="og:title" content="Units" />
  6. <meta property="og:type" content="website" />
  7. <meta property="og:url" content="https://docs.crownengine.org/html/latest/units/index.html" />
  8. <meta property="og:site_name" content="Crown 0.62.0 Manual" />
  9. <meta property="og:description" content="This section explains what Units are, how they work, how they can be created, saved, used, extended etc. Introduction- Units, Components, Hierarchies, Prefabs., Creating Units- Overview, From the Level Editor, From the Project Browser, From imported resources, Spawning Units.." />
  10. <meta name="description" content="This section explains what Units are, how they work, how they can be created, saved, used, extended etc. Introduction- Units, Components, Hierarchies, Prefabs., Creating Units- Overview, From the Level Editor, From the Project Browser, From imported resources, Spawning Units.." />
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  12. <title>Units &mdash; Crown 0.62.0 Manual 0.62.0 documentation</title>
  13. <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  14. <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  15. <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />
  16. <link rel="shortcut icon" href="../_static/org.crownengine.Crown.svg"/>
  17. <link rel="canonical" href="https://docs.crownengine.org/html/latest/units/index.html" />
  18. <!--[if lt IE 9]>
  19. <script src="../_static/js/html5shiv.min.js"></script>
  20. <![endif]-->
  21. <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
  22. <script src="../_static/jquery.js"></script>
  23. <script src="../_static/underscore.js"></script>
  24. <script src="../_static/doctools.js"></script>
  25. <script src="../_static/js/theme.js"></script>
  26. <link rel="index" title="Index" href="../genindex.html" />
  27. <link rel="search" title="Search" href="../search.html" />
  28. <link rel="copyright" title="Copyright" href="../copyright.html" />
  29. <link rel="next" title="Introduction" href="introduction.html" />
  30. <link rel="prev" title="Importing Fonts" href="../importing_resources/importing_fonts.html" />
  31. </head>
  32. <body class="wy-body-for-nav">
  33. <div class="wy-grid-for-nav">
  34. <nav data-toggle="wy-nav-shift" class="wy-nav-side">
  35. <div class="wy-side-scroll">
  36. <div class="wy-side-nav-search" >
  37. <a href="../index.html">
  38. <img src="../_static/org.crownengine.Crown.svg" class="logo" alt="Logo"/>
  39. </a>
  40. <div class="version">
  41. Crown 0.62.0 Manual
  42. </div>
  43. <div role="search">
  44. <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
  45. <input type="text" name="q" placeholder="Search docs" />
  46. <input type="hidden" name="check_keywords" value="yes" />
  47. <input type="hidden" name="area" value="default" />
  48. </form>
  49. </div>
  50. </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
  51. <ul class="current">
  52. <li class="toctree-l1"><a class="reference internal" href="../changelog.html">Changelog</a></li>
  53. <li class="toctree-l1"><a class="reference internal" href="../introduction.html">Introduction</a></li>
  54. <li class="toctree-l1"><a class="reference internal" href="../installing_crown/index.html">Installing Crown</a></li>
  55. <li class="toctree-l1"><a class="reference internal" href="../getting_started/index.html">Getting Started</a></li>
  56. <li class="toctree-l1"><a class="reference internal" href="../level_editor/index.html">Level Editor</a></li>
  57. <li class="toctree-l1"><a class="reference internal" href="../importing_resources/index.html">Importing Resources</a></li>
  58. <li class="toctree-l1 current"><a class="current reference internal" href="#">Units</a><ul>
  59. <li class="toctree-l2"><a class="reference internal" href="introduction.html">Introduction</a></li>
  60. <li class="toctree-l2"><a class="reference internal" href="creating_units.html">Creating Units</a></li>
  61. </ul>
  62. </li>
  63. <li class="toctree-l1"><a class="reference internal" href="../rendering/index.html">Rendering</a></li>
  64. <li class="toctree-l1"><a class="reference internal" href="../physics/index.html">Physics</a></li>
  65. <li class="toctree-l1"><a class="reference internal" href="../gameplay/index.html">Writing Gameplay</a></li>
  66. <li class="toctree-l1"><a class="reference internal" href="../deploying/index.html">Deploying</a></li>
  67. <li class="toctree-l1"><a class="reference internal" href="../reference/index.html">Reference</a></li>
  68. <li class="toctree-l1"><a class="reference internal" href="../lua_api.html">Lua API reference</a></li>
  69. <li class="toctree-l1"><a class="reference internal" href="../glossary.html">Glossary</a></li>
  70. <li class="toctree-l1"><a class="reference internal" href="../copyright.html">License</a></li>
  71. <li class="toctree-l1"><a class="reference internal" href="../hackers/index.html">Engine Hackers</a></li>
  72. </ul>
  73. </div>
  74. </div>
  75. </nav>
  76. <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
  77. <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
  78. <a href="../index.html">Crown 0.62.0 Manual</a>
  79. </nav>
  80. <div class="wy-nav-content">
  81. <div class="rst-content">
  82. <div role="navigation" aria-label="Page navigation">
  83. <ul class="wy-breadcrumbs">
  84. <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
  85. <li>Units</li>
  86. <li class="wy-breadcrumbs-aside">
  87. <a href="../_sources/units/index.rst.txt" rel="nofollow"> View page source</a>
  88. </li>
  89. </ul>
  90. <hr/>
  91. </div>
  92. <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
  93. <div itemprop="articleBody">
  94. <section id="units">
  95. <h1>Units<a class="headerlink" href="#units" title="Permalink to this headline">¶</a></h1>
  96. <p>This section explains what Units are, how they work, how they can be created, saved, used, extended etc.</p>
  97. <div class="toctree-wrapper compound">
  98. <ul>
  99. <li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction</a><ul>
  100. <li class="toctree-l2"><a class="reference internal" href="introduction.html#units">Units</a></li>
  101. <li class="toctree-l2"><a class="reference internal" href="introduction.html#components">Components</a></li>
  102. <li class="toctree-l2"><a class="reference internal" href="introduction.html#hierarchies">Hierarchies</a></li>
  103. <li class="toctree-l2"><a class="reference internal" href="introduction.html#prefabs">Prefabs</a></li>
  104. </ul>
  105. </li>
  106. <li class="toctree-l1"><a class="reference internal" href="creating_units.html">Creating Units</a><ul>
  107. <li class="toctree-l2"><a class="reference internal" href="creating_units.html#overview">Overview</a></li>
  108. <li class="toctree-l2"><a class="reference internal" href="creating_units.html#from-the-level-editor">From the Level Editor</a></li>
  109. <li class="toctree-l2"><a class="reference internal" href="creating_units.html#from-the-project-browser">From the Project Browser</a></li>
  110. <li class="toctree-l2"><a class="reference internal" href="creating_units.html#from-imported-resources">From imported resources</a></li>
  111. <li class="toctree-l2"><a class="reference internal" href="creating_units.html#spawning-units">Spawning Units</a></li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </div>
  116. </section>
  117. </div>
  118. </div>
  119. <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
  120. <a href="../importing_resources/importing_fonts.html" class="btn btn-neutral float-left" title="Importing Fonts" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
  121. <a href="introduction.html" class="btn btn-neutral float-right" title="Introduction" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
  122. </div>
  123. <hr/>
  124. <div role="contentinfo">
  125. <p>&#169; <a href="../copyright.html">Copyright</a> Except where otherwise noted, content on this page is licensed under a CC-BY-SA 4.0 Int. License.
  126. <span class="lastupdated">Last updated on Feb 18, 2026.
  127. </span></p>
  128. </div>
  129. Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
  130. <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
  131. provided by <a href="https://readthedocs.org">Read the Docs</a>.
  132. </footer>
  133. </div>
  134. </div>
  135. </section>
  136. </div>
  137. <script>
  138. jQuery(function () {
  139. SphinxRtdTheme.Navigation.enable(true);
  140. });
  141. </script>
  142. <!-- Theme Analytics -->
  143. <script async src="https://www.googletagmanager.com/gtag/js?id=G-XNVGCMNDZH"></script>
  144. <script>
  145. window.dataLayer = window.dataLayer || [];
  146. function gtag(){dataLayer.push(arguments);}
  147. gtag('js', new Date());
  148. gtag('config', 'G-XNVGCMNDZH', {
  149. 'anonymize_ip': true,
  150. });
  151. </script>
  152. </body>
  153. </html>