private bool OnBeforePathStart() { UpdateContextAndEventArgs(); var args = new BeforePathStartEventArgs(_currentEventArgs); if (BeforePathStart != null) { BeforePathStart(args); } return(args.ShouldPathStart); }
private bool OnBeforePathStart() { if (DisableInFullscreen && IsInFullScreenMode()) { return(false); } UpdateContextAndEventArgs(); var args = new BeforePathStartEventArgs(_currentEventArgs); if (BeforePathStart != null) { BeforePathStart(args); } return(args.ShouldPathStart); }
private bool OnBeforePathStart() { if (DisableInFullscreen && IsInFullScreenMode()) return false; UpdateContextAndEventArgs(); var args = new BeforePathStartEventArgs(_currentEventArgs); if (BeforePathStart != null) BeforePathStart(args); return args.ShouldPathStart; }