Skip to content
#

unity-editor

unity logo

Unity is a game development platform used to build high-quality 3D/2D games that can deployed across mobile, desktop, VR/AR, consoles, or the web.

Here are 374 public repositories matching this topic...

MingBow
MingBow commented May 28, 2020

個人測試中使用了兩個scene做場景的切換,scene1跟scene2,
scene1跟scene2各擺放一個按鈕做場景切換,
並在scene1最下方,另外擺放了uiwidgets的TextField widget做獲取虛擬鍵盤高度測試,
另外我想要在場景切換時TextField不被destroy,
所以使用了DontDestroyOnLoad讓TextField一直保持存在,
當我啟動程式時,預設為scene1,
這時點擊TextField時可獲取虛擬鍵盤高度,並把TextField往上推,
關閉虛擬鍵盤時,TextField會回到原位,
這時再點擊切換場景按鈕,切換到scene2,
此時點擊TextField並獲取虛擬鍵盤高度值為零(有印log),
我是使用MediaQuery.of(this.context).viewInsets.bottom來獲取虛擬鍵盤高度。

unity-mulligan-renamer
edwardrowe
edwardrowe commented Oct 4, 2020

The strings
"This is sample text with words inserted"
and
"This is sample text with words deleted"

are broken up into multiple entries that are '+''ed together. This is not correct. It should be
"This is {0} with words {1}."

The challenge is I use these to create a diff preview: https://github.com/redbluegames/unity-mulligan-renamer/blob/f3612a7ad4d3b13a230e31cad094f9eaa

Created by Unity Technologies

Organization
Unity-Technologies
Website
unity3d.com
You can’t perform that action at this time.