Esempio n. 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));
        }