Version: 2018.2
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