public void Update() { _transform.Scale *= _scaleMultiplier; if (_transform.Scale >= 2.5f) { EntityManager.RemoveEntity(Entity); } // TODO if (Physics.BroadphaseCast(_outerCircleCollider, out _tmpOuterCollisions, (int)CollisionLayer.Player)) { foreach (Collider collider in _tmpOuterCollisions) { PolygonCollider playerCollider = (PolygonCollider)collider; if (playerCollider.Intersects(_outerCircleCollider) && !playerCollider.Intersects(_innerCircleCollider)) { EntityManager.RemoveEntity(playerCollider.Entity); } } } }