public int buildIndex ;

説明

Returns the index of the Scene in the Build Settings. Always returns -1 if the Scene was loaded through an AssetBundle.