//*************************************************************************************************
    /// <summary>
    /// シミュレート用の解像度を取得
    /// </summary>
    /// <param name="type"シミュレート用の機種></param>
    /// <returns>シミュレート用の解像度</returns>
    //*************************************************************************************************
    private Vector2Int getSimulationResolution(SimulateType type)
    {
        var index  = (int)type;
        var width  = isLandscape ? resolutions[index].y : resolutions[index].x;
        var height = isLandscape ? resolutions[index].x : resolutions[index].y;

        return(new Vector2Int(width, height));
    }
    //*************************************************************************************************
    /// <summary>
    /// シミュレート用のセーフエリアを取得
    /// </summary>
    /// <param name="type">シミュレート用の機種</param>
    /// <returns>シミュレート用のセーフエリア</returns>
    //*************************************************************************************************
    private Rect getSimulationSafeArea(SimulateType type)
    {
        // NOTE: 解像度は物理解像度から3倍する
        switch (type)
        {
        case SimulateType.iPhoneXAndXs:
            return(isLandscape ? new Rect(132, 63, 2172, 1062) : new Rect(0, 102, 1125, 2202));

        case SimulateType.iPhoneXR:
            return(isLandscape ? new Rect(132, 63, 1528, 765) : new Rect(0, 102, 1242, 2454));

        case SimulateType.iPhoneXsMax:
            return(isLandscape ? new Rect(132, 63, 2424, 1179) : new Rect(0, 102, 1242, 2454));

        case SimulateType.None:
        default:
            return(new Rect(0, 0, UnityEngine.Screen.width, UnityEngine.Screen.height));
        }
    }