# startup script

**URL:** <https://discussions.unity.com/t/startup-script/417780>\
**Category:** Scripting\
**Tags:** Scripting\
**Created:** [July 10, 2010, 5:11pm UTC](https://discussions.unity.com/t/startup-script/417780 "2010-07-10T17:11:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon\_21361296](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@anon\_21361296](https://discussions.unity.com/u/anon_21361296)\
**Post date:** [July 10, 2010, 5:11pm UTC](https://discussions.unity.com/t/startup-script/417780/1 "2010-07-10T17:11:33Z")

</div>

Hi,

I understand that scripts are attached to objects but how do I include script at startup. For example if I want to include an inventory system script where do I place it?

Thanks,  
XC

---

<div class="post-metadata">

**Author:** ![AkilaeTribe](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/akilaetribe/32/153898_2.png) [@AkilaeTribe](https://discussions.unity.com/u/AkilaeTribe)\
**Post date:** [July 10, 2010, 5:54pm UTC](https://discussions.unity.com/t/startup-script/417780/2 "2010-07-10T17:54:00Z")

</div>

Make use of specials functions called on each component at start, as Start () and Awake ().

> **[Unity - Scripting API: MonoBehaviour.Awake()](https://docs.unity3d.com/ScriptReference/MonoBehaviour.Awake.html)**

---

<div class="post-metadata">

**Author:** ![CaptainKiyaku](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/captainkiyaku/32/521336_2.png) [@CaptainKiyaku](https://discussions.unity.com/u/CaptainKiyaku)\
**Post date:** [July 10, 2010, 10:33pm UTC](https://discussions.unity.com/t/startup-script/417780/3 "2010-07-10T22:33:04Z")

</div>

You can always just create an Empty GameObject in your first game scene and attatch your Inventory or whatever you want to it.
