SamsonGame/Assets/Sources/Feel/MMTools/Tools/MMAttributes/MMDebugLogCommandArgumentCo...

22 lines
642 B
C#
Raw Normal View History

2021-12-29 20:50:11 +03:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MoreMountains.Tools
{
/// <summary>
/// An attribute to add to static methods to they can be called via the MMDebugMenu's command line
/// </summary>
[AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false)]
public class MMDebugLogCommandArgumentCountAttribute : System.Attribute
{
public readonly int ArgumentCount;
public MMDebugLogCommandArgumentCountAttribute(int argumentCount)
{
this.ArgumentCount = argumentCount;
}
}
}