Пример #1
0
    public void SetTransparent(bool transparent)
    {
        this.isTransparent = transparent;
        SetCameraBackground(transparent);
        uniWin.EnableTransparent(transparent);

        // 少しサイズを変更して戻してみる
        Vector2 size = uniWin.GetSize();

        uniWin.SetSize(size - Vector2.one);
        uniWin.SetSize(size);

        UpdateFocusable();
    }