기술 자료

Unity Engine

Unity Engine

GetScenePathByBuildIndex(int)

Get the Scene path from a build index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static string GetScenePathByBuildIndex(int buildIndex)

Parameters

buildIndex

Returns

Type

Description

stringScene path (e.g "Assets/Scenes/Scene1.unity").

Remarks

The build index refers to the index into the list of Scenes as specified in the Build Settings window.