protected virtual void DemoPlayerSystemPointerClickHandler(uFrame.ECS.MouseDownDispatcher data, ClickCount source) { var handler = new DemoPlayerSystemPointerClickHandler(); handler.System = this; handler.Event = data; handler.Source = source; handler.Execute(); }
protected void DemoPlayerSystemPointerClickFilter(uFrame.ECS.MouseDownDispatcher data) { var SourceClickCount = ClickCountManager[data.EntityId]; if (SourceClickCount == null) { return; } if (!SourceClickCount.Enabled) { return; } this.DemoPlayerSystemPointerClickHandler(data, SourceClickCount); }