public void ResetIgnoreCollision(AbsCollLayer2D layer)
 {
     this.SetIgnoreCollisions(
         layer,
         this.collLayers2D,
         otherLayer => otherLayer.IgnoreCollisions(layer.Colliders, false)
         );
 }
Example #2
0
 public void ResetIgnoreCollision(AbsCollLayer2D layer)
 {
     this.collisionInfosSetter.ResetIgnoreCollision(layer);
 }
Example #3
0
 public void UnManagement(AbsCollLayer2D layer)
 {
     this.collisionInfosSetter.UnManagement(layer);
 }
 public void UnManagement(AbsCollLayer2D layer)
 {
     this.collLayers2D[layer.LayerID].Remove(layer);
 }
            public void Management(AbsCollLayer2D layer)
            {
                var layerID = this.SetIgnoreCollisions(layer, this.collLayers2D, lay => layer.IgnoreCollisions(lay.Colliders, true));

                this.collLayers2D[layerID].Add(layer);
            }