UnityLink`
UnityLink`

CreateUnityPhysicsMaterial2D

CreateUnityPhysicsMaterial2D ["name",expr]

creates a Unity physics material 2D component from expr with the specified name.

Details

Examples

Basic Examples  (1)

To use UnityLink, you need first to load the package:

Open a Unity project:

Create a UnityPhysicsMaterial2D:

Set the physics material 2D of a 2D collider using UnityPhysicsMaterial2D:

Find the UnityPhysicsMaterial2D of a 2D collider:

Wolfram Research (2019), CreateUnityPhysicsMaterial2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html.

Text

Wolfram Research (2019), CreateUnityPhysicsMaterial2D, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html.

CMS

Wolfram Language. 2019. "CreateUnityPhysicsMaterial2D." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html.

APA

Wolfram Language. (2019). CreateUnityPhysicsMaterial2D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html

BibTeX

@misc{reference.wolfram_2022_createunityphysicsmaterial2d, author="Wolfram Research", title="{CreateUnityPhysicsMaterial2D}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html}", note=[Accessed: 13-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2022_createunityphysicsmaterial2d, organization={Wolfram Research}, title={CreateUnityPhysicsMaterial2D}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityPhysicsMaterial2D.html}, note=[Accessed: 13-March-2025 ]}