UnityLink`
UnityLink`

UnityAssetQ

UnityAssetQ[expr]

gives True if expr is a Unity asset, and False otherwise.

Details

  • An expression is a Unity asset if it is both a Unity object and it references a file in the Assets directory of a Unity project.

Examples

Basic Examples  (3)

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

Open a Unity project:

Test whether an object is an asset:

Not every Unity object is an asset:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_unityassetq, author="Wolfram Research", title="{UnityAssetQ}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityAssetQ.html}", note=[Accessed: 18-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_unityassetq, organization={Wolfram Research}, title={UnityAssetQ}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityAssetQ.html}, note=[Accessed: 18-May-2021 ]}

CMS

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

APA

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