19 lines
410 B
19 lines
410 B
using UnityEngine; |
|
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
|
|
namespace Fungus |
|
{ |
|
[EventHandlerInfo("", |
|
"Flowchart Enabled", |
|
"The block will execute when the Flowchart game object is enabled.")] |
|
[AddComponentMenu("")] |
|
public class FlowchartEnabled : EventHandler |
|
{ |
|
protected virtual void OnEnable() |
|
{ |
|
ExecuteBlock(); |
|
} |
|
} |
|
}
|
|
|