docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Aspect concepts

    An aspect is an object-like wrapper that you can use to group together a subset of an entity's components into a single C# struct.

    This section explains how to use aspects within your project.

    Topic Description
    Aspect overview Understand how aspects work.
    Create an aspect Create an aspect with the IAspect interface.
    Aspect source generation Use aspect source generators.

    Additional resources

    • IAspect API documentation
    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)