UnityLink`
UnityLink`

DeleteUnityAsset

DeleteUnityAsset["path"]

delete an asset at the specified path.

DeleteUnityAsset[asset]

delete the specified Unity asset.

更多信息

  • DeleteUnityAsset deletes the asset from the Assets directory and releases any references to it.
  • DeleteUnityAsset returns Missing["Nonexistent"] if the asset could not be found.
  • DeleteUnityAsset also accepts File objects.

范例

基本范例  (2)

Load the UnityLink:

Open a Unity project:

Create an asset:

Delete the asset:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2022_deleteunityasset, organization={Wolfram Research}, title={DeleteUnityAsset}, year={2017}, url={https://reference.wolfram.com/language/UnityLink/ref/FindUnityScene.html}, note=[Accessed: 22-November-2024 ]}