Files
Pal3.Unity/Assets/Scripts/Pal3/Command/SceCommands/SceneLoadCommand.cs
T
2023-01-03 19:03:54 -08:00

22 lines
821 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.SceCommands
{
[AvailableInConsole]
[SceCommand(63, "切换场景," +
"参数:场景关(文件)名称,场景区块名称")]
public class SceneLoadCommand : ICommand
{
public SceneLoadCommand(string sceneFileName, string sceneName)
{
SceneFileName = sceneFileName;
SceneName = sceneName;
}
public string SceneFileName { get; }
public string SceneName { get; }
}
}