Entity type tools | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Entity icon Entity type tools

    ProBuilder provides some default entity behaviors. These are MonoBehaviours that provide some commonly used functionality.

    Note: These tools are only available from the The ProBuilder toolbar in text mode.

    Set Trigger

    The Set Trigger tool assigns the Trigger Behaviour script to selected objects, which does the following:

    • If no collider is present, the Trigger Behaviour script adds a MeshCollider component.
    • If the collider is a Mesh Collider, the Trigger Behaviour script enables its Convex property.
    • The Trigger Behaviour script enables the collider's isTrigger property.
    • The Trigger Behaviour script sets the Mesh Renderer Material to ProBuilder's Trigger Material.
    • The Trigger Behaviour script automatically disables the Mesh Renderer when you enter Play Mode or build your project.

    Tip: You can also use the T hotkey to set the selected object(s) as a trigger. If you want to change this hotkey assignment, you can modify it in the ProBuilder Preferences Shortcut Settings.

    Set Collider

    The Set Collider tool assigns the Collider Behaviour script to selected objects, which does the following:

    • If no collider is present, the Collider Behaviour script adds a MeshCollider component.
    • The Collider Behaviour script sets the MeshRenderer Material to ProBuilder's Collider Material.
    • The Collider Behaviour script automatically disables the MeshRenderer when you enter Play Mode or build your project.

    Tip: You can also use the C hotkey to set the selected object(s) as a collider. If you want to change this hotkey assignment, you can modify it in the ProBuilder Preferences Shortcut Settings.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023