Ejemplo n.º 1
0
    public void LoadSmallPhoto()
    {
        switch (Application.platform)
        {
        case RuntimePlatform.Android:
            _GP_Player.LoadIcon();
            break;

        case RuntimePlatform.IPhonePlayer:
            _GK_Player.LoadPhoto(GK_PhotoSize.GKPhotoSizeSmall);
            break;
        }
    }
Ejemplo n.º 2
0
    public void LoadSmallPhoto()
    {
        switch (Application.platform)
        {
        case RuntimePlatform.Android:
            if (UltimateMobileSettings.Instance.PlatformEngine == UM_PlatformDependencies.Amazon)
            {
                _GC_Player.LoadAvatar();
            }
            else
            {
                _GP_Player.LoadIcon();
            }
            break;

        case RuntimePlatform.IPhonePlayer:
            _GK_Player.LoadPhoto(GK_PhotoSize.GKPhotoSizeSmall);
            break;
        }
    }