Files
Pal3.Unity/Assets/Scripts/Pal3/Command/SceCommands/ScriptRunCommand.cs
T

20 lines
673 B
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2022, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.SceCommands
{
[AvailableInConsole]
[SceCommand(16, "调用另一段脚本," +
"参数:脚本ID")]
public class ScriptRunCommand : ICommand
{
public ScriptRunCommand(int scriptId)
{
ScriptId = scriptId;
}
public int ScriptId { get; }
}
}