You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Feel/MMTools/Tools/MMAttributes/MMDebugLogCommandArgumentCo...

21 lines
566 B
C#

3 months ago
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;
}
}
}