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.
24 lines
453 B
24 lines
453 B
10 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Fungus
|
||
|
{
|
||
|
[CommandInfo("Scripting",
|
||
|
"Reset",
|
||
|
"Resets state of all commands and variables in this Fungus Script.")]
|
||
|
public class Reset : Command
|
||
|
{
|
||
|
public override void OnEnter()
|
||
|
{
|
||
|
GetFungusScript().Reset();
|
||
|
Continue();
|
||
|
}
|
||
|
|
||
|
public override Color GetButtonColor()
|
||
|
{
|
||
|
return new Color32(235, 191, 217, 255);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|