chrisgregan
10 years ago
6 changed files with 53 additions and 6 deletions
@ -0,0 +1,29 @@
|
||||
using UnityEngine; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
[CommandInfo("Scripting", |
||||
"End", |
||||
"Marks the end of a conditional block.")] |
||||
[AddComponentMenu("")] |
||||
public class End : Command |
||||
{ |
||||
public override void OnEnter() |
||||
{ |
||||
Continue(); |
||||
} |
||||
|
||||
public override int GetPreIndent() |
||||
{ |
||||
return -1; |
||||
} |
||||
|
||||
public override Color GetButtonColor() |
||||
{ |
||||
return new Color32(253, 253, 150, 255); |
||||
} |
||||
} |
||||
|
||||
} |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 93cb9773f2ca04e2bbf7a68ccfc23267 |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
Loading…
Reference in new issue