public void ResetIgnoreCollision(AbsCollLayer2D layer) { this.SetIgnoreCollisions( layer, this.collLayers2D, otherLayer => otherLayer.IgnoreCollisions(layer.Colliders, false) ); }
public void ResetIgnoreCollision(AbsCollLayer2D layer) { this.collisionInfosSetter.ResetIgnoreCollision(layer); }
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); }