Skip to content

Commit 81aac79

Browse files
committed
[F] DisplayTouchInGame CircleGraphic
1 parent 55b9ddb commit 81aac79

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

AquaMai.Mods/Utils/DisplayTouchInGame.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ private static void CreateDisplay(int type, GameMonitor monitor)
205205
{
206206
foreach (Transform item in touchPanel.transform)
207207
{
208+
// Unity 的销毁是延迟到帧末执行的,所以这里还是会存在
209+
if (item.name.StartsWith("CircleGraphic"))
210+
{
211+
Object.Destroy(item.gameObject);
212+
continue;
213+
}
208214
var customGraphic = item.GetComponent<CustomGraphic>();
209215
customGraphic.color = Color.blue;
210216
if (item.name.StartsWith("A"))

build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ try {
2828
$gitDescribe = "$gitDescribe-$branch"
2929
}
3030

31+
$isDirty = git status --porcelain
32+
if ($isDirty) {
33+
$gitDescribe = "$gitDescribe-DWR"
34+
}
35+
3136
$buildDate = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
3237

3338
$shortVers = $gitDescribe.Split('-')

0 commit comments

Comments
 (0)