docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Add Component

    Rule Engine
    Add component to input GameObjects.

    Parameters

    Parameter Type Description
    componentPreset ComponentPreset
    componentType UnityComponentType Type of component that will be added to the input.
    preset Preset Optional: A preset allows for automatic property value assignment using a .preset asset.
    In This Article
    Back to top
    Copyright © 2025 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)