Files
UltimateFishing/Assets/Scripts/Assembly-CSharp/LE_LevelEditor/Commands/LE_CmdBase.cs
2026-02-21 16:45:37 +08:00

40 lines
505 B
C#

using UndoRedo;
using UnityEngine;
namespace LE_LevelEditor.Commands
{
public abstract class LE_CmdBase : UR_CommandBase
{
protected float m_time;
protected int m_frame;
public float RealTime
{
get
{
return m_time;
}
}
public int Frame
{
get
{
return m_frame;
}
}
public LE_CmdBase()
{
m_time = Time.realtimeSinceStartup;
m_frame = Time.frameCount;
}
public override bool CombineWithNext(UR_ICommand p_nextCmd)
{
return false;
}
}
}