docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Components overview

    Components represent the data in the Entity Component System (ECS) architecture. Entities associate components together and systems provide logic that can read from and write to the component data. This section introduces ECS components and explains how to use them.

    Topic Description
    Component types Understand different component types and how to use them.
    Add components to an entity Use C# scripts to add components to an entity.
    Remove components from an entity Use C# scripts to remove components from an entity.
    Read and write component values Use C# scripts to read or write component values.
    Native container component support Understand the behavior and support for NativeContainers in component types.

    Additional resources

    • ECS concepts
    • Entities concepts
    • Systems concepts
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)