UnityLink`
UnityLink`

CreateUnityAsset

CreateUnityAsset["path",obj]

create an asset at the specified path from the given UnityObject obj.

更多信息

  • CreateUnityAsset returns the asset it created, and $Failed if it cannot be created.

范例

基本范例  (2)

Load the UnityLink:

Open a Unity project:

Create an asset from an existing Unity object:

Check that the mesh is stored in the Assets directory:

Wolfram Research (2017),CreateUnityAsset,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html.

文本

Wolfram Research (2017),CreateUnityAsset,Wolfram 语言函数,https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html.

CMS

Wolfram 语言. 2017. "CreateUnityAsset." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html.

APA

Wolfram 语言. (2017). CreateUnityAsset. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html 年

BibTeX

@misc{reference.wolfram_2022_createunityasset, author="Wolfram Research", title="{CreateUnityAsset}", year="2017", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html}", note=[Accessed: 26-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2022_createunityasset, organization={Wolfram Research}, title={CreateUnityAsset}, year={2017}, url={https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html}, note=[Accessed: 26-December-2024 ]}