docs.unity3d.com
    Show / Hide Table of Contents

    Class BodyObjectCreationData

    ObjectCreationData for a Body preset

    Inheritance
    Object
    ObjectCreationData
    BodyObjectCreationData
    Inherited Members
    ObjectCreationData.m_ObjectName
    ObjectCreationData.m_Icon
    ObjectCreationData.m_Tooltip
    ObjectCreationData.ObjectName
    ObjectCreationData.CreateInContextSelection
    ObjectCreationData.ObjectGUIContent
    ObjectCreationData.GenerateInitialGameObject(String, Transform)
    ObjectCreationData.GetOrGenerateUniqueParent(String)
    ObjectCreationData.CreateGameObject()
    Namespace: UnityEditor.MARS
    Syntax
    public class BodyObjectCreationData : ObjectCreationData

    Methods

    CreateGameObject(out GameObject, Transform)

    Create a Body preset object

    Declaration
    public override bool CreateGameObject(out GameObject createdObj, Transform parentTransform)
    Parameters
    Type Name Description
    GameObject createdObj

    The created object

    Transform parentTransform

    A parent transform to use for object creation (can be null)

    Returns
    Type Description
    Boolean

    True if the object was created successfully

    Overrides
    ObjectCreationData.CreateGameObject(out GameObject, Transform)
    Back to top
    Terms of use
    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