Files
Pal3.Unity/Assets/Scripts/Pal3/Command/SceCommands/ScriptVarInBetweenCommand.cs
T
Jackie Liu 56cec16a17 Update license information
Update license information
2022-02-27 17:52:29 -08:00

23 lines
877 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2022, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.SceCommands
{
[SceCommand(19, "判断变量是否在两个数之间并赋值给临时变量," +
"参数:变量名,min,max,说明:X>=min并且X<=max?")]
public class ScriptVarInBetweenCommand : ICommand
{
public ScriptVarInBetweenCommand(int variable, int min, int max)
{
Variable = variable;
Min = min;
Max = max;
}
public int Variable { get; }
public int Min { get; }
public int Max { get; }
}
}