Files
FlaxEngine/Source/Engine/Scripting/Attributes/Editor/NoUndoAttribute.cs

16 lines
363 B
C#

// Copyright (c) Wojciech Figat. All rights reserved.
using System;
namespace FlaxEngine
{
/// <summary>
/// Makes a property to not use undo/redo when modifying it in Editor.
/// </summary>
[Serializable]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class NoUndoAttribute : Attribute
{
}
}