A list of the components, and a description of what each one does. The more specific use of each component can be seen by clicking on the name of the component.
- CameraController
- Allows control of the camera. Multiple CameraControllers can be added to the scene, but only one can be active at any one time.
- KeyboardInput
- A simple input handling component, which can handle exactly one keyboard key. When building game logic, the state of this key can then easily be checked.
- TextRenderer
- Shows the text on the screen in the position set by the GameObject the Component is attached to. The font, colour and type can be set for each TextRenderer.
- SpriteRenderer
- Simply renders a texture in the position set by the GameObject the component is attached to. The sprite can have a tint added. White is the default and will not change the texture.
- SphereCollision
- A simple sphere collider. Simply add one of these to a GameObject, and you can check whether it collides with any other SphereCollisions in the Scene.
- SoundListener
- Attach this to the GameObject which represents the character in the game to allow for 3D positional audio.
- SoundEmitter
- Attach this to the GameObject which is to make a sound, which should be heard from some position in the world by the SoundListener.
- Scripting
- This allows you to create custom logic for your games. When ever you encounter something which cannot be done with any of the existing Components, this allows you to build your own Components by writing scripts. The Creating Game Logic chapter explores in further depth how the game logic is created.