diff --git a/Assets/Fungus/Scripts/Components/EventHandler.cs b/Assets/Fungus/Scripts/Components/EventHandler.cs index 602c8eb7..39881ae5 100644 --- a/Assets/Fungus/Scripts/Components/EventHandler.cs +++ b/Assets/Fungus/Scripts/Components/EventHandler.cs @@ -41,6 +41,38 @@ namespace Fungus [FormerlySerializedAs("parentSequence")] [SerializeField] protected Block parentBlock; + #region Unity Messages Propagation + protected virtual void UnityOnEnable() + { + + } + + protected virtual void UnityOnDisable() + { + + } + + protected virtual void UnityStart() + { + + } + + void OnEnable() + { + UnityOnEnable(); + } + + void OnDisable() + { + UnityOnDisable(); + } + + void Start() + { + UnityStart(); + } + #endregion + #region Public members ///