Class SyntheticBodyObjectCreationData
ObjectCreationData for a Synthetic Body preset
Inherited Members
Namespace: UnityEditor.MARS
Syntax
public class SyntheticBodyObjectCreationData : ObjectCreationData
Methods
CreateGameObject(out GameObject, Transform)
Create a Synthetic 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 |