修复bug

This commit is contained in:
shenjianxing 2025-03-27 10:16:08 +08:00
parent a8c7c1ed62
commit b7c053dd0c
6 changed files with 66 additions and 42 deletions

View File

@ -5,11 +5,14 @@ PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
: Any
second:
enabled: 0
settings:
@ -19,17 +22,17 @@ PluginImporter:
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 1
- first:
'': OSXIntel
: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
'': OSXIntel64
: OSXIntel64
second:
enabled: 0
settings:
@ -50,7 +53,7 @@ PluginImporter:
second:
enabled: 1
settings:
CPU: x86
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
@ -104,7 +107,7 @@ PluginImporter:
- first:
WebGL: WebGL
second:
enabled: 1
enabled: 0
settings: {}
userData:
assetBundleName:

View File

@ -5,11 +5,14 @@ PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': Any
: Any
second:
enabled: 0
settings:
@ -19,17 +22,17 @@ PluginImporter:
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude WebGL: 0
Exclude WebGL: 1
Exclude Win: 1
Exclude Win64: 0
- first:
'': OSXIntel
: OSXIntel
second:
enabled: 0
settings:
CPU: None
- first:
'': OSXIntel64
: OSXIntel64
second:
enabled: 1
settings:
@ -76,7 +79,7 @@ PluginImporter:
second:
enabled: 1
settings:
CPU: x86_64
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
@ -104,7 +107,7 @@ PluginImporter:
- first:
WebGL: WebGL
second:
enabled: 1
enabled: 0
settings: {}
userData:
assetBundleName:

View File

@ -1,23 +1,35 @@
fileFormatVersion: 2
guid: 1ccab43e933dced44b5709cd5dbcf8cc
timeCreated: 1570482071
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': OSXIntel
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
: OSXIntel
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
'': OSXIntel64
: OSXIntel64
second:
enabled: 0
settings:
@ -30,10 +42,11 @@ PluginImporter:
- first:
Editor: Editor
second:
enabled: 0
enabled: 1
settings:
CPU: x86
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
@ -55,7 +68,7 @@ PluginImporter:
- first:
Standalone: Linux64
second:
enabled: 0
enabled: 1
settings:
CPU: None
- first:
@ -67,7 +80,7 @@ PluginImporter:
- first:
Standalone: OSXUniversal
second:
enabled: 0
enabled: 1
settings:
CPU: x86
- first:
@ -79,7 +92,7 @@ PluginImporter:
- first:
Standalone: Win64
second:
enabled: 0
enabled: 1
settings:
CPU: None
userData:

View File

@ -1,23 +1,35 @@
fileFormatVersion: 2
guid: e6382e035030f2d4dac919d2484ec059
timeCreated: 1570482072
licenseType: Pro
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
'': OSXIntel
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
: OSXIntel
second:
enabled: 0
settings:
CPU: None
- first:
'': OSXIntel64
: OSXIntel64
second:
enabled: 1
settings:
@ -30,10 +42,11 @@ PluginImporter:
- first:
Editor: Editor
second:
enabled: 0
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: AnyOS
- first:
Facebook: Win
second:
@ -57,7 +70,7 @@ PluginImporter:
second:
enabled: 1
settings:
CPU: x86_64
CPU: AnyCPU
- first:
Standalone: LinuxUniversal
second:
@ -67,13 +80,13 @@ PluginImporter:
- first:
Standalone: OSXUniversal
second:
enabled: 0
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
enabled: 1
settings:
CPU: None
- first:

View File

@ -1,11 +1,7 @@
using GCSeries.Core.Input;
using HighlightPlus;
using QFramework;
using QFramework.Example;
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Burst.CompilerServices;
using UnityEngine;
using UnityEngine.EventSystems;
using XMLTool;
@ -106,9 +102,7 @@ public class DeviceController : MonoSingleton<DeviceController>
var uitip = UIKit.GetPanel<UIDeviceTip>();
if (uitip != null)
{
UIKit.OpenPanelAsync<UIDeviceTip>(UILevel.PopUI).ToAction().Start(this, () =>
{
});
uitip = UIKit.OpenPanel<UIDeviceTip>(UILevel.PopUI);
}
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;

View File

@ -59,12 +59,10 @@ public class TipItem : MonoBehaviour
tip = UIKit.GetPanel<UIDeviceTip>();
if (tip == null)
{
UIKit.OpenPanelAsync<UIDeviceTip>(UILevel.PopUI).ToAction().Start(this, () =>
{
tip = UIKit.GetPanel<UIDeviceTip>();
tip = UIKit.OpenPanel<UIDeviceTip>(UILevel.PopUI);
tip.Set(label);
tip.Active(true);
});
}
else
{