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.
28 lines
457 B
28 lines
457 B
10 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
10 years ago
|
namespace Fungus
|
||
10 years ago
|
{
|
||
|
[CommandInfo("Scripting",
|
||
10 years ago
|
"End If",
|
||
10 years ago
|
"Marks the end of an If statement block.")]
|
||
10 years ago
|
public class EndIf : Command
|
||
10 years ago
|
{
|
||
|
public override void OnEnter()
|
||
|
{
|
||
|
Continue();
|
||
|
}
|
||
|
|
||
|
public override int GetPreIndent()
|
||
|
{
|
||
|
return -1;
|
||
|
}
|
||
10 years ago
|
|
||
|
public override Color GetButtonColor()
|
||
|
{
|
||
|
return new Color32(253, 253, 150, 255);
|
||
|
}
|
||
10 years ago
|
}
|
||
|
|
||
|
}
|