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

31 lines
1.1 KiB
C#

// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
namespace Pal3.Command.SceCommands
{
#if PAL3A
[AvailableInConsole]
[SceCommand(188, "移动相机并看向固定点")]
public class CameraMoveToLookAtPointCommand : ICommand
{
public CameraMoveToLookAtPointCommand(
float gameBoxXPosition,
float gameBoxYPosition,
float gameBoxZPosition,
int synchronous)
{
GameBoxXPosition = gameBoxXPosition;
GameBoxYPosition = gameBoxYPosition;
GameBoxZPosition = gameBoxZPosition;
Synchronous = synchronous;
}
public float GameBoxXPosition { get; }
public float GameBoxYPosition { get; }
public float GameBoxZPosition { get; }
public int Synchronous { get; }
}
#endif
}