예제 #1
0
        private void DestroyPoint(Vector2 point)
        {
            var x = Mathf.RoundToInt(point.x - .5f);
            var y = Mathf.RoundToInt(point.y + .5f);

            if (world.IsOutOfBounds(x, y))
            {
                world.DestroyBlock(x, y);
            }
        }