예제 #1
0
        public bool Show(AdPosition position)
        {
            double y = 0; // default y-asix to 0

            switch (position)
            {
            case AdPosition.TOP:
            {
                break;
            }

            case AdPosition.BOTTOM:
            {
                y = AdUtility.Height() - AdView.HeightFromType(this, size);
                break;
            }

            case AdPosition.CUSTOM:
            {
                Debug.LogWarning("Use Show(double y) instead");
                break;
            }
            }
            return(Show(y));
        }
예제 #2
0
 public bool Show(double x,
                  double y)
 {
     return(Show(x, y, AdUtility.Width(), AdView.HeightFromType(this, size)));
 }