8    public DramaEventMethod(Action _action, 
float _duration = 0f, 
bool _halt = 
false)
 
   10        this.action = _action;
 
   11        this.time = _duration;
 
   16    public override bool Play()
 
   18        if (this.progress == 0)
 
   22                this.sequence.dialog.SetActive(
false);
 
   24            if (this.action != 
null)
 
   28            if (this.time > 0f && !Input.GetKey(KeyCode.LeftControl))
 
   30                TweenUtil.Tween(this.time, 
null, delegate()
 
   41        if (
EClass.ui.GetTopLayer() != base.layer)
 
   43            if (this.sequence.dialog)
 
   45                this.sequence.dialog.SetActive(
false);
 
   49        if (this.progress == -1 || !this.halt || (this.endFunc != 
null && this.endFunc()))
 
   51            if (this.jumpFunc != 
null)
 
   53                string text = this.jumpFunc();
 
   56                    this.sequence.Play(text);
 
   69    public Func<bool> endFunc;
 
   72    public Func<string> jumpFunc;
 
   78    public bool hideDialog;