//********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
using System;
namespace BansheeEngine
{
/** @addtogroup Serialization
* @{
*/
///
/// Makes an integer or a floating point field vary by multiples of the specified value.
///
[AttributeUsage(AttributeTargets.Field)]
public sealed class Step : Attribute
{
///
/// Creates a new Step attribute.
///
/// Minimum change of the field. Every change will be rounded to a multiple of this value.
public Step(float step)
{
this.step = step;
}
#pragma warning disable 0414
private float step;
#pragma warning restore 0414
}
}