Browse Source

Add dependency on Sequence and Fungus Script components

master
chrisgregan 10 years ago
parent
commit
f5ad27b1c0
  1. 2
      Assets/Fungus/FungusScript/Scripts/EventHandler.cs

2
Assets/Fungus/FungusScript/Scripts/EventHandler.cs

@ -28,6 +28,8 @@ namespace Fungus
* Add an EventHandlerInfo attibute and your new EventHandler class will automatically appear in the
* 'Start Event' dropdown menu when a sequence is selected.
*/
[RequireComponent(typeof(Sequence))]
[RequireComponent(typeof(FungusScript))]
public class EventHandler : MonoBehaviour
{
[HideInInspector]

Loading…
Cancel
Save