docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Manage messages and code snippets in Assistant

    Assistant lets you manage messages and handle code snippets.

    Manage messages

    Use the Copy message icon to copy Assistant's response text to your clipboard. For the response you want to copy, select Copy message, and paste the copied text into your desired application (for example, a text editor, email, or document).

    Note

    When you copy responses, Assistant adds comments to indicate that artificial intelligence (AI) generated the text.

    Manage code snippets

    When you request code snippets from Assistant, the code appears in a code block with two icons: Save Code and Copy Code. These features simplify how you use the code within your projects.

    To save a code snippet in a folder, select Save Code, then Save.

    To copy the code snippet to clipboard, select Copy Code and paste the code into your script.

    Additional resources

    • Get started with Assistant
    • Interact with GameObjects, assets, and console errors
    In This Article
    Back to top
    Copyright © 2026 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)