111
This commit is contained in:
@@ -31,6 +31,8 @@ public class VideoPanel : BasePanel
|
||||
}
|
||||
|
||||
|
||||
public override UITweenType TweenType => UITweenType.Fade;
|
||||
|
||||
public override void Initialize(GameObject panelGo)
|
||||
{
|
||||
base.Initialize(panelGo);
|
||||
@@ -43,9 +45,9 @@ public class VideoPanel : BasePanel
|
||||
_animator = area.GetComponentInChildren<Animator>();
|
||||
}
|
||||
|
||||
public override void OnEnter()
|
||||
public override void OnEnter(Action complete = null)
|
||||
{
|
||||
base.OnEnter();
|
||||
base.OnEnter(complete);
|
||||
|
||||
this.RegisterEvent<ModeType, VideoInfo>(ModeType.VideoStart, OnStartMove);
|
||||
this.RegisterEvent<ModeType>(ModeType.VideoEnd, OnStopMove);
|
||||
|
||||
Reference in New Issue
Block a user