19 lines
414 B
19 lines
414 B
using UnityEngine; |
|
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
|
|
namespace Fungus |
|
{ |
|
[EventHandlerInfo("", |
|
"Object Enabled", |
|
"The sequence will execute when the Fungus Script game object is enabled.")] |
|
[AddComponentMenu("")] |
|
public class ObjectEnabled : EventHandler |
|
{ |
|
protected virtual void OnEnable() |
|
{ |
|
ExecuteSequence(); |
|
} |
|
} |
|
}
|
|
|