chrisgregan
10 years ago
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,18 @@
|
||||
using UnityEngine; |
||||
using System; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
[EventHandlerInfo("Scripting", |
||||
"Enable Object", |
||||
"The sequence will execute when the owner game object is enabled.")] |
||||
public class EnableObject : EventHandler |
||||
{ |
||||
protected virtual void OnEnable() |
||||
{ |
||||
ExecuteSequence(); |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue