Skip to content

Commit

Permalink
Unity 2019.2でテストして微修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
kirurobo committed Jun 7, 2020
1 parent 1913c0a commit f4395eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This asset is designed to provide functions which enable your Unity application

## Confirmed environment

* Unity 5.6.6f2, Unity 2018.2.20f1
* Unity 2018.4.20f1, Unity 2019.2.18f
* Windows 10 Pro x64
* GeForce GTX980, GeForce GTX 1070

Expand Down Expand Up @@ -88,6 +88,7 @@ However, there is no operation guarantee.

## Change log

* 2020/06/07 Support Unity 2019. Add layered winodow method
* 2019/01/23 Add file open dialog. Return the way to acquire self window to be active window standard
* 2018/12/28 Add namespace, Modify the way to acquire self window to be PID standard
* 2018/12/07 Separate the asset part of UniWinApi
Expand Down Expand Up @@ -119,7 +120,7 @@ However, there is no operation guarantee.

## 確認済み動作環境

* Unity 5.6.6f2, Unity 2018.2.20f1
* Unity 2018.4.20f1, Unity 2019.2.18f
* Windows 10 Pro x64
* GeForce GTX980, GeForce GTX 1070

Expand Down Expand Up @@ -183,6 +184,7 @@ UniWinApi は、CC0(パブリックドメイン)としています。

## 更新履歴

* 2020/06/07 Unity 2019 対応。Layered Window による透過モードを追加。
* 2019/01/23 ファイルオープンダイアログ追加。自ウィンドウ取得方法をアクティブウィンドウ基準に戻した。
* 2018/12/28 namespaceを設定、自ウィンドウ取得をPIDを基準とする方法に修正
* 2018/12/07 UniWinApiのアセット部分を分離
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Editor/WindowControllerEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private string[] ValidatePlayerSettings()
// Unity 2019.1.7 以降であれば、Player 設定 の Use DXGI Flip... 無効化を推奨
if (PlayerSettings.useFlipModelSwapchain)
{
warnings.Add("Disable 'Use DXGI Flip Mode Swapchain' to make the window transparent.");
warnings.Add("Disable 'Use DXGI Flip Model Swapchain' to make the window transparent.");
}
#endif

Expand Down
4 changes: 2 additions & 2 deletions Scripts/WindowController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ public bool enableFileDrop
/// <summary>
/// 描画の上にタッチがあればそのfingerIdが入る
/// </summary>
[SerializeField]
//[SerializeField]
private int activeFingerId = -1;

/// <summary>
/// 最後のドラッグはマウスによるものか、タッチによるものか
/// </summary>
[SerializeField]
//[SerializeField]
private bool wasUsingMouse;

/// <summary>
Expand Down

0 comments on commit f4395eb

Please sign in to comment.