Ejemplo n.º 1
0
            public void Fully_Within_MaxBounds_Corner_LeftTop()
            {
                maxBounds.center = new Vector2(-maxBounds.size.x / 2, -maxBounds.size.y / 2);
                var    focusArea = new CameraFollow.FocusArea(size, maxBounds, targetBounds);
                Bounds bounds    = focusArea.bounds;

                Assert.IsTrue(maxBounds.ContainBounds(bounds));
            }