Browse Source

Added Stop command

master
chrisgregan 10 years ago
parent
commit
76375c8c7f
  1. 23
      Assets/Fungus/FungusScript/Commands/Stop.cs
  2. 8
      Assets/Fungus/FungusScript/Commands/Stop.cs.meta

23
Assets/Fungus/FungusScript/Commands/Stop.cs

@ -0,0 +1,23 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
[CommandInfo("Scripting",
"Stop",
"Stop executing the current Fungus Script.")]
public class Stop : Command
{
public override void OnEnter()
{
Stop();
}
public override Color GetButtonColor()
{
return new Color32(235, 191, 217, 255);
}
}
}

8
Assets/Fungus/FungusScript/Commands/Stop.cs.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5f1ca510a57aa47568a5e4ee558ff41f
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
Loading…
Cancel
Save