UnityLink`
UnityLink`
UnityComponentQ
UnityComponentQ[obj]
gives True if obj is a valid component of a Unity game object, and False otherwise.
Details
- In Unity, a component is a type of object that must be attached to a game object. Together, these components add various functionality to your scene, such as physics and rendering. In the Wolfram Language, each component is represented by a unique symbol, such as UnityRigidbody and UnityMeshRenderer.
- UnityComponentQ can be used to distinguish components from other Unity object types, such as UnityGameObject and UnityScene.
Examples
Wolfram Research (2019), UnityComponentQ, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityComponentQ.html.
Text
Wolfram Research (2019), UnityComponentQ, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityComponentQ.html.
CMS
Wolfram Language. 2019. "UnityComponentQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityComponentQ.html.
APA
Wolfram Language. (2019). UnityComponentQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityComponentQ.html