예제 #1
0
        protected void HazardSystemOnCollisionEnterDispatcherFilter(uFrame.ECS.OnCollisionEnterDispatcher data)
        {
            var SourceDestroyOnCollision = DestroyOnCollisionManager[data.EntityId];

            if (SourceDestroyOnCollision == null)
            {
                return;
            }
            if (!SourceDestroyOnCollision.Enabled)
            {
                return;
            }
            this.HazardSystemOnCollisionEnterDispatcherHandler(data, SourceDestroyOnCollision);
        }
예제 #2
0
 protected override void HazardSystemOnCollisionEnterDispatcherHandler(uFrame.ECS.OnCollisionEnterDispatcher data, DestroyOnCollision source)
 {
 }
 protected void EnemyAISystemOnCollisionEnterFilter(uFrame.ECS.OnCollisionEnterDispatcher data)
 {
     this.EnemyAISystemOnCollisionEnterHandler(data);
 }
 protected virtual void EnemyAISystemOnCollisionEnterHandler(uFrame.ECS.OnCollisionEnterDispatcher data)
 {
 }