浏览代码

[Bot] Automated dotnet-format update

/main
fqureshi 4 年前
当前提交
68cafc40
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs

4
UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs


/// </summary>
private void UnloadPreviousScene()
{
if(_currentlyLoadedScene != null) //would be null if the game was started in Initialisation
if (_currentlyLoadedScene != null) //would be null if the game was started in Initialisation
if(_currentlyLoadedScene.sceneReference.OperationHandle.IsValid())
if (_currentlyLoadedScene.sceneReference.OperationHandle.IsValid())
{
//Unload the scene through its AssetReference, i.e. through the Addressable system
_currentlyLoadedScene.sceneReference.UnLoadScene();

正在加载...
取消
保存