You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
687 B
22 lines
687 B
7 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace Fungus
|
||
|
{
|
||
|
/// <summary>
|
||
7 years ago
|
/// Resets the FungusPriority count to zero. Useful if you are among logic that is hard to have matching increase and decreases.
|
||
7 years ago
|
/// </summary>
|
||
7 years ago
|
[CommandInfo("Priority Signals",
|
||
7 years ago
|
"Priority Reset",
|
||
|
"Resets the FungusPriority count to zero. Useful if you are among logic that is hard to have matching increase and decreases.")]
|
||
7 years ago
|
public class FungusPriorityReset : Command
|
||
7 years ago
|
{
|
||
|
public override void OnEnter()
|
||
|
{
|
||
|
FungusPrioritySignals.DoResetPriority();
|
||
|
|
||
|
Continue();
|
||
|
}
|
||
|
}
|
||
|
}
|