Version: 2019.1
public static Build.Content.SceneDependencyInfo PrepareScene (string scenePath, Build.Content.BuildSettings settings, Build.Content.BuildUsageTagSet usageSet, string outputFolder);
public static Build.Content.SceneDependencyInfo PrepareScene (string scenePath, Build.Content.BuildSettings settings, Build.Content.BuildUsageTagSet usageSet, Build.Content.BuildUsageCache usageCache, string outputFolder);

パラメーター

usageCacheOptional cache object to use for improving performance with multiple calls to this api.
scenePathInput path of the Scene to prepare.
settingsSettings to use for preparing the Scene.
usageSetOutput usage information generated from preparing the Scene.
outputFolderOutput location where the post prepared Scene will be saved.

戻り値

SceneDependencyInfo Dependency information for the Scene.

説明

Calculates the Scene dependency information and writes a post processed Scene to disk.

Internal use only. See note on ContentBuildInterface.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961