> For the complete documentation index, see [llms.txt](https://docs.airship.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airship.gg/typescript/airshipbehaviour.md).

# Airship Components

Most game logic is run through AirshipBehaviours. It is our equivalent to [Unity's MonoBehaviour](https://docs.unity3d.com/Manual/class-MonoBehaviour.html).

AirshipBehaviours offer [useful lifecycle methods](/typescript/airshipbehaviour/lifecycles.md). They are attached to [Game Objects](https://docs.unity3d.com/Manual/class-GameObject.html).&#x20;

{% code fullWidth="false" %}

```typescript
export default class ExampleAirshipBehaviour extends AirshipBehaviour {
	public greeting = "Hello, World!";

	public Start(): void {
		print(this.greeting);
	}
}
```

{% endcode %}

After the file is compiled, it can be added to a Game Object through the **Add Airship Component** menu

<figure><img src="/files/AekzJJVvApkDr56TLpjS" alt=""><figcaption></figcaption></figure>

You should see your component added after selecting it:

<figure><img src="/files/amjHuVczYaSDO6yLS1qV" alt=""><figcaption></figcaption></figure>

When you run your game, this will print "Hello, World!"&#x20;
