public void OnTriggerEnter2D(Collider2D collision) { var other = collision.gameObject.GetComponent <MergeBehavior>(); if (other == null) { return; } if (other.GetComponent <PayloadBehavior>().Type != _type) { return; } _tracker.StartTracking(other); }