예제 #1
0
        protected virtual void TestSystemOnMouseDownHandler(uFrame.ECS.UnityUtilities.MouseDownDispatcher data, TestComponentNode source)
        {
            var handler = TestSystemOnMouseDownHandlerInstance;

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
예제 #2
0
        protected virtual void inpSysOnMouseDownHandler(uFrame.ECS.UnityUtilities.MouseDownDispatcher data, playerComp source)
        {
            var handler = inpSysOnMouseDownHandlerInstance;

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
예제 #3
0
        protected virtual void InputSystemOnMouseDownHandler(uFrame.ECS.UnityUtilities.MouseDownDispatcher data, Health source)
        {
            var handler = InputSystemOnMouseDownHandlerInstance;

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            handler.Execute();
        }
예제 #4
0
        protected void TestSystemOnMouseDownFilter(uFrame.ECS.UnityUtilities.MouseDownDispatcher data)
        {
            var SourceTestComponentNode = TestComponentNodeManager[data.EntityId];

            if (SourceTestComponentNode == null)
            {
                return;
            }
            if (!SourceTestComponentNode.Enabled)
            {
                return;
            }
            this.TestSystemOnMouseDownHandler(data, SourceTestComponentNode);
        }
예제 #5
0
        protected void inpSysOnMouseDownFilter(uFrame.ECS.UnityUtilities.MouseDownDispatcher data)
        {
            var SourceplayerComp = playerCompManager[data.EntityId];

            if (SourceplayerComp == null)
            {
                return;
            }
            if (!SourceplayerComp.Enabled)
            {
                return;
            }
            this.inpSysOnMouseDownHandler(data, SourceplayerComp);
        }
예제 #6
0
        protected void InputSystemOnMouseDownFilter(uFrame.ECS.UnityUtilities.MouseDownDispatcher data)
        {
            var SourceHealth = HealthManager[data.EntityId];

            if (SourceHealth == null)
            {
                return;
            }
            if (!SourceHealth.Enabled)
            {
                return;
            }
            this.InputSystemOnMouseDownHandler(data, SourceHealth);
        }