protected virtual void UISystemPointerClickDispatcherHandler(uFrame.ECS.UnityUtilities.PointerClickDispatcher data, PlayGameButton source) { var handler = new UISystemPointerClickDispatcherHandler(); handler.System = this; handler.Event = data; handler.Source = source; StartCoroutine(handler.Execute()); }
protected void UISystemPointerClickDispatcherFilter(uFrame.ECS.UnityUtilities.PointerClickDispatcher data) { var SourcePlayGameButton = PlayGameButtonManager[data.EntityId]; if (SourcePlayGameButton == null) { return; } if (!SourcePlayGameButton.Enabled) { return; } this.UISystemPointerClickDispatcherHandler(data, SourcePlayGameButton); }