Merge branch 'bugfix/安卓问题修改playtest同步' into 'playtest'

手机端问题修改

See merge request aibis-dream/aibis-dream!626
This commit is contained in:
2026-02-14 15:37:45 +00:00
58 changed files with 4011 additions and 2774 deletions
@@ -2,6 +2,7 @@ using System;
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
public class VersionIncrementer : IPreprocessBuildWithReport
{
@@ -23,5 +24,13 @@ public class VersionIncrementer : IPreprocessBuildWithReport
// 更新版本号
string date = DateTime.Now.ToString("yyyyMMdd-HHmmss");
PlayerSettings.bundleVersion = $"{major}.{minor}.{revision}.{build + 1}-{date}";
// 如果是Android平台,自增Bundle Version Code
if (report.summary.platform == BuildTarget.Android)
{
int currentVersionCode = PlayerSettings.Android.bundleVersionCode;
PlayerSettings.Android.bundleVersionCode = currentVersionCode + 1;
Debug.Log($"Android Bundle Version Code incremented: {currentVersionCode} -> {PlayerSettings.Android.bundleVersionCode}");
}
}
}
File diff suppressed because it is too large Load Diff
@@ -478,7 +478,7 @@ MonoBehaviour:
m_Localized: 'Linking: Establishing connection...'
m_Metadata:
m_Items: []
- m_Id: 1151122466148462
- m_Id: 71035092779143168
m_Localized: 'SpeakerModule: Connection established with Expression Module!'
m_Metadata:
m_Items: []
@@ -660,6 +660,10 @@ MonoBehaviour:
m_Localized:
m_Metadata:
m_Items: []
- m_Id: 71038673238364160
m_Localized: 'Linking: Establishing connection...'
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []
@@ -454,7 +454,7 @@ MonoBehaviour:
m_Localized: "Linking: \u63A5\u7D9A\u4E2D\u2026"
m_Metadata:
m_Items: []
- m_Id: 1151122466148462
- m_Id: 71035092779143168
m_Localized: "SpeakerModule: \u8868\u73FE\u30E2\u30B8\u30E5\u30FC\u30EB\u3068\u306E\u63A5\u7D9A\u3092\u78BA\u7ACB\u3057\u307E\u3057\u305F\uFF01"
m_Metadata:
m_Items: []
@@ -634,6 +634,10 @@ MonoBehaviour:
m_Localized: "\u30AA\u30D7\u30B7\u30E7\u30F32"
m_Metadata:
m_Items: []
- m_Id: 71038673238364160
m_Localized: "Linking: \u63A5\u7D9A\u4E2D\u2026"
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []
@@ -30,7 +30,7 @@ MonoBehaviour:
m_Localized: "Error: \u68C0\u6D4B\u5230\u6E83\u89E3\u4FE1\u53F7\u6D41\uFF01\u8FDB\u5165\u9694\u79BB\u6A21\u5F0F\u2026"
m_Metadata:
m_Items: []
- m_Id: 1151122466148462
- m_Id: 71035092779143168
m_Localized: "SpeakerModule: \u5DF2\u4E0E\u8868\u8FBE\u6A21\u5757\u5EFA\u7ACB\u8FDE\u63A5\uFF01"
m_Metadata:
m_Items: []
@@ -634,6 +634,14 @@ MonoBehaviour:
m_Localized: "\u9009\u98792"
m_Metadata:
m_Items: []
- m_Id: 71038673238364161
m_Localized: "Linking: \u6D4B\u8BD5\u6587\u672C"
m_Metadata:
m_Items: []
- m_Id: 71038673238364160
m_Localized: "Linking: \u6B63\u5728\u5EFA\u7ACB\u8FDE\u63A5\u2026"
m_Metadata:
m_Items: []
references:
version: 2
RefIds: []
@@ -211,6 +211,10 @@ MonoBehaviour:
m_Key: appinfo
m_Metadata:
m_Items: []
- m_Id: 90595287599419392
m_Key: start_taptap
m_Metadata:
m_Items: []
m_Metadata:
m_Items: []
m_KeyGenerator:
+4
View File
@@ -226,6 +226,10 @@ MonoBehaviour:
m_Localized: All Our Broken Parts
m_Metadata:
m_Items: []
- m_Id: 90595287599419392
m_Localized: TapTap
m_Metadata:
m_Items: []
references:
version: 2
RefIds:
@@ -216,6 +216,10 @@ MonoBehaviour:
m_Localized: All Our Broken Parts
m_Metadata:
m_Items: []
- m_Id: 90595287599419392
m_Localized: TapTap
m_Metadata:
m_Items: []
references:
version: 2
RefIds:
+5 -1
View File
@@ -46,7 +46,7 @@ MonoBehaviour:
m_Metadata:
m_Items: []
- m_Id: 22296675749890
m_Localized: 325268983
m_Localized: 1077308854
m_Metadata:
m_Items: []
- m_Id: 22296675749891
@@ -219,6 +219,10 @@ MonoBehaviour:
Broken Parts"
m_Metadata:
m_Items: []
- m_Id: 90595287599419392
m_Localized: TapTap
m_Metadata:
m_Items: []
references:
version: 2
RefIds:
@@ -9,6 +9,10 @@ import android.os.Bundle;
import android.webkit.WebView;
public class PrivacyActivity extends Activity implements DialogInterface.OnClickListener {
// WebView 和 Dialog 引用,用于资源管理
private WebView webView;
private AlertDialog privacyDialog;
// 隐私协议内容
final String privacyContext = "<html><body style='padding:16px;font-size:14px;line-height:1.8;'>" +
"<h3>提示</h3>" +
@@ -44,15 +48,16 @@ public class PrivacyActivity extends Activity implements DialogInterface.OnClick
// 显示隐私协议对话框
private void ShowPrivacyDialog() {
WebView webView = new WebView(this);
webView = new WebView(this);
webView.loadData(privacyContext, "text/html", "utf-8");
AlertDialog.Builder privacyDialog = new AlertDialog.Builder(this);
privacyDialog.setCancelable(false);
privacyDialog.setView(webView);
privacyDialog.setTitle("隐私政策");
privacyDialog.setNegativeButton("拒绝", this);
privacyDialog.setPositiveButton("同意", this);
privacyDialog.create().show();
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setCancelable(false);
builder.setView(webView);
builder.setTitle("隐私政策");
builder.setNegativeButton("拒绝", this);
builder.setPositiveButton("同意", this);
privacyDialog = builder.create();
privacyDialog.show();
}
@Override
@@ -89,4 +94,39 @@ public class PrivacyActivity extends Activity implements DialogInterface.OnClick
SharedPreferences prefs = this.getSharedPreferences("PlayerPrefs", MODE_PRIVATE);
return prefs.getBoolean("PrivacyAcceptedKey", false);
}
@Override
protected void onPause() {
super.onPause();
// 暂停 WebView 以节省资源
if (webView != null) {
webView.onPause();
}
}
@Override
protected void onResume() {
super.onResume();
// 恢复 WebView
if (webView != null) {
webView.onResume();
}
}
@Override
protected void onDestroy() {
super.onDestroy();
// 关闭对话框
if (privacyDialog != null && privacyDialog.isShowing()) {
privacyDialog.dismiss();
privacyDialog = null;
}
// 显式销毁 WebView 释放资源,防止内存泄漏
if (webView != null) {
webView.onPause();
webView.removeAllViews();
webView.destroy();
webView = null;
}
}
}
@@ -0,0 +1,8 @@
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M
org.gradle.parallel=true
unityStreamingAssets=**STREAMING_ASSETS**
# Android Resolver Properties Start
android.useAndroidX=true
android.enableJetifier=true
# Android Resolver Properties End
**ADDITIONAL_PROPERTIES**
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a5f63e87459853348b777d18b9793d9a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,57 @@
apply plugin: 'com.android.library'
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Android Resolver Dependencies Start
implementation 'com.taptap.sdk:tap-core-unity:4.10.0-beta.1' // Packages/com.taptap.sdk.core/Mobile/Editor/NativeDependencies.xml:7
implementation 'com.taptap.sdk:tap-rep:4.10.0-beta.1' // Packages/com.taptap.sdk.rep/Mobile/Editor/NativeDependencies.xml:7
// Android Resolver Dependencies End
**DEPS**}
// Android Resolver Exclusions Start
android {
packagingOptions {
exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/armeabi-v7a/*' + '*')
exclude ('/lib/mips/*' + '*')
exclude ('/lib/mips64/*' + '*')
exclude ('/lib/x86/*' + '*')
exclude ('/lib/x86_64/*' + '*')
}
}
// Android Resolver Exclusions End
android {
ndkPath "**NDKPATH**"
compileSdkVersion **APIVERSION**
buildToolsVersion '**BUILDTOOLS**'
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
defaultConfig {
minSdkVersion **MINSDKVERSION**
targetSdkVersion **TARGETSDKVERSION**
ndk {
abiFilters **ABIFILTERS**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
}
lintOptions {
abortOnError false
}
aaptOptions {
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
}**PACKAGING_OPTIONS**
}
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 918a97b341f36a14192b4a4c995ebbe3
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,30 @@
pluginManagement {
repositories {
**ARTIFACTORYREPOSITORY**
gradlePluginPortal()
google()
mavenCentral()
}
}
include ':launcher', ':unityLibrary'
**INCLUDES**
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
**ARTIFACTORYREPOSITORY**
google()
mavenCentral()
// Android Resolver Repos Start
def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
maven {
url "https://repo.maven.apache.org/maven2" // Packages/com.taptap.sdk.core/Mobile/Editor/NativeDependencies.xml:6, Packages/com.taptap.sdk.rep/Mobile/Editor/NativeDependencies.xml:6
}
mavenLocal()
// Android Resolver Repos End
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs"
}
}
}
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fac7e74643c6321469700545679068d6
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -21,4 +21,4 @@ MonoBehaviour:
- {fileID: 11400000, guid: 7b4c80c072fa1784ab3223a1084225d4, type: 2}
- {fileID: 11400000, guid: 589fde7a8735fa44f8fe167466fd403b, type: 2}
- {fileID: 11400000, guid: 61d3b78d55f36924eb5182b317f09f50, type: 2}
- {fileID: 11400000, guid: 66c13343cc1b9dd4e80fc54742bd1b8c, type: 2}
- {fileID: 11400000, guid: c2e4e91309f70384db3c8897cb547394, type: 2}
@@ -9,370 +9,8 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f29c16c9fe849e442b4f1bab0c32e28a, type: 3}
m_Script: {fileID: 11500000, guid: b35610ff4f94b48418a96b669a706775, type: 3}
m_Name: StepAppearance
m_EditorClassIdentifier:
tagID: step
timeMode:
startDelay: 0
useUniformTime: 1
waveSize: 0
timeSpeed: 1
emissionCurve:
cycles: 1
duration: 1
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0.04143524
value: 0.9868164
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.92541504
value: 1.0178833
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
animationData:
movementX:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 1
waveSize: 0
movementY:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 1
waveSize: 0
movementZ:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 1
waveSize: 0
scaleX:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 2
waveSize: 0
scaleY:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 2
waveSize: 0
rotX:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 45
waveSize: 0
rotY:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 45
waveSize: 0
rotZ:
enabled: 0
weightOverTime:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
amplitude: 45
waveSize: 0
colorCurve:
enabled: 0
colorOverTime:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
key1: {r: 0, g: 1, b: 1, a: 1}
key2: {r: 1, g: 1, b: 1, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
key5: {r: 0, g: 0, b: 0, a: 0}
key6: {r: 0, g: 0, b: 0, a: 0}
key7: {r: 0, g: 0, b: 0, a: 0}
ctime0: 0
ctime1: 34502
ctime2: 65535
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_Mode: 1
m_ColorSpace: 0
m_NumColorKeys: 3
m_NumAlphaKeys: 2
waveSize: 0
duration: 1
baseDuration: 0.5
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 66c13343cc1b9dd4e80fc54742bd1b8c
guid: c2e4e91309f70384db3c8897cb547394
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
@@ -0,0 +1,45 @@
using Febucci.UI.Core;
using Febucci.UI.Effects;
using UnityEngine;
namespace Febucci.UI.Effects
{
[UnityEngine.Scripting.Preserve]
[CreateAssetMenu(fileName = "Direct Appearance", menuName = "Text Animator/Animations/Appearances/Direct")]
[EffectInfo("step", EffectCategory.Appearances)]
public sealed class DirectAppearance : AppearanceScriptableBase
{
Color32 temp;
public override void ResetContext(TAnimCore animator)
{
base.ResetContext(animator);
}
public override void ApplyEffectTo(ref Core.CharacterData character, TAnimCore animator)
{
float timeProgress = character.passedTime / duration;
// First half: hide (alpha = 0)
// Second half: show (alpha = original)
for (int i = 0; i < TextUtilities.verticesPerChar; i++)
{
temp = character.current.colors[i];
if (timeProgress < 0.2f)
{
// First half: completely transparent
temp.a = 0;
}
else
{
// Second half: use original alpha from source
temp.a = character.source.colors[i].a;
}
character.current.colors[i] = temp;
}
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b35610ff4f94b48418a96b669a706775
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+2 -1
View File
@@ -164,7 +164,8 @@ MonoBehaviour:
databaseActions: {fileID: 11400000, guid: de78232a60d74f6459e57e5606304209, type: 2}
defaultAppearancesTags:
- step
defaultDisappearancesTags: []
defaultDisappearancesTags:
- fade
defaultBehaviorsTags: []
defaultTagsMode: 0
--- !u!114 &107040131454302588
+17 -2
View File
@@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 4156240678385147197}
- component: {fileID: 3152720343440710739}
- component: {fileID: 351969066121265812}
- component: {fileID: 525251063544976677}
m_Layer: 0
m_Name: Task Item Temp
m_TagString: Untagged
@@ -126,8 +127,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 2.4
m_fontSizeBase: 2.4
m_fontSize: 2
m_fontSizeBase: 2
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -171,3 +172,17 @@ MonoBehaviour:
m_hasFontAssetChanged: 0
m_renderer: {fileID: 3152720343440710739}
m_maskType: 0
--- !u!114 &525251063544976677
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5370176113195622641}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 0
m_VerticalFit: 2
@@ -67,6 +67,7 @@ title: 拿起插头
// <<ModuleHightLight Emo true>>
// <<endif>>
===
title: ShockEffect
---
<<jump 电击后>>
@@ -321,7 +321,7 @@ colorID: 8
group:插线检查
position: 1101,-2974
---
<<wait 0.1>>
<<wait 0.2>>
Linking: 正在建立连接… #line:0e63512
<<wait 0.2>>
LogicModule: 已与{$currentCheckModule}模块建立连接! #line:08d3946
@@ -417,9 +417,9 @@ colorID: 8
group:插线检查
position: 542,-2965
---
<<wait 0.1>>
Linking: 正在建立连接… #line:095d856
<<wait 0.2>>
Linking: 正在建立连接… #line:095d856
<<wait 0.5>>
SpeakerModule: 已与表达模块建立连接! #line:0995165
<<play_sfx "event:/Scriptal/beep_warning">>
Error: 检测到溃解信号流!进入隔离模式… #line:0382726
File diff suppressed because it is too large Load Diff
+616 -19
View File
@@ -518,7 +518,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u5BF9\u8BDD\u5185\u5BB9\u663E\u793A\u5728\u8FD9\u91CC<sub>\u652F\u6301\u5BCC\u6587\u672C</sub>"
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: c7fc4cbba4b38a04c8985d4dbce12a73, type: 2}
m_sharedMaterial: {fileID: -5947736473428621296, guid: c7fc4cbba4b38a04c8985d4dbce12a73, type: 2}
@@ -2283,6 +2283,81 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 7768698746163907630, guid: a1dbef2a0a50ecf49a39eae2d3e486b2, type: 3}
m_PrefabInstance: {fileID: 99451801}
m_PrefabAsset: {fileID: 0}
--- !u!1 &107576965
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 107576966}
- component: {fileID: 107576969}
- component: {fileID: 107576968}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &107576966
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 107576965}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 572953477}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -180, y: 2}
m_SizeDelta: {x: 60, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &107576968
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 107576965}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 1243325839}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 90f583f5ccc4c7c49bb484c9b4a47ea3, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &107576969
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 107576965}
m_CullTransparentMesh: 1
--- !u!1 &114645688
GameObject:
m_ObjectHideFlags: 0
@@ -4759,8 +4834,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 125, y: -262.6667}
m_SizeDelta: {x: 250, y: 80}
m_AnchoredPosition: {x: 140, y: -265}
m_SizeDelta: {x: 280, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &246580519
MonoBehaviour:
@@ -6453,7 +6528,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 960, y: 540}
m_SizeDelta: {x: 0, y: 150}
m_SizeDelta: {x: 380, y: 150}
m_Pivot: {x: 1, y: 1}
--- !u!114 &367483173
MonoBehaviour:
@@ -10194,6 +10269,227 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 7768698746163907630, guid: a1dbef2a0a50ecf49a39eae2d3e486b2, type: 3}
m_PrefabInstance: {fileID: 1592246586}
m_PrefabAsset: {fileID: 0}
--- !u!1 &572953476
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 572953477}
- component: {fileID: 572953481}
- component: {fileID: 572953480}
- component: {fileID: 572953479}
- component: {fileID: 572953478}
m_Layer: 5
m_Name: TapTap
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &572953477
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 572953476}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 107576966}
m_Father: {fileID: 1180038149}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 125, y: -377.5}
m_SizeDelta: {x: 250, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &572953478
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 572953476}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 56eb0353ae6e5124bb35b17aff880f16, type: 3}
m_Name:
m_EditorClassIdentifier:
m_StringReference:
m_TableReference:
m_TableCollectionName: GUID:994c69bf4b2403043bc9562f2d24ee56
m_TableEntryReference:
m_KeyId: 90595287599419392
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 0
m_LocalVariables: []
m_FormatArguments: []
m_UpdateString:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 572953480}
m_TargetAssemblyTypeName: TMPro.TMP_Text, Unity.TextMeshPro
m_MethodName: set_text
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 1
references:
version: 2
RefIds: []
--- !u!114 &572953479
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 572953476}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 572953480}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &572953480
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 572953476}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "QQ\u7FA4"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: ce7a5dae4e01a554ba14c36172700b78, type: 2}
m_sharedMaterial: {fileID: -8257615428076326078, guid: ce7a5dae4e01a554ba14c36172700b78, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 61.161907, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &572953481
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 572953476}
m_CullTransparentMesh: 1
--- !u!1 &576009913
GameObject:
m_ObjectHideFlags: 0
@@ -10749,9 +11045,9 @@ RectTransform:
- {fileID: 576009914}
m_Father: {fileID: 367483172}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 230, y: -25}
m_SizeDelta: {x: 80, y: 100}
m_Pivot: {x: 1, y: 1}
--- !u!222 &640896811
@@ -11971,6 +12267,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 80392929}
- {fileID: 2047170513}
m_Father: {fileID: 1009826577}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &719228340
@@ -14346,6 +14643,7 @@ RectTransform:
- {fileID: 961234236}
- {fileID: 398371925}
- {fileID: 1662599903}
- {fileID: 1292211951}
m_Father: {fileID: 2091451641}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
@@ -14375,6 +14673,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
demoTimer: {fileID: 398371926}
loading: {fileID: 1662599902}
messageBox: {fileID: 1292211950}
--- !u!1 &927888433
GameObject:
m_ObjectHideFlags: 0
@@ -16519,7 +16818,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -180, y: 2}
m_AnchoredPosition: {x: -200, y: 2}
m_SizeDelta: {x: 60, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1117690821
@@ -17147,9 +17446,9 @@ RectTransform:
- {fileID: 527148464}
m_Father: {fileID: 367483172}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 110, y: -25}
m_SizeDelta: {x: 80, y: 100}
m_Pivot: {x: 1, y: 1}
--- !u!222 &1164645868
@@ -17348,12 +17647,13 @@ RectTransform:
- {fileID: 133033013}
- {fileID: 1380796559}
- {fileID: 246580518}
- {fileID: 572953477}
m_Father: {fileID: 1216017968}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 837, y: 0}
m_SizeDelta: {x: 246, y: 334}
m_SizeDelta: {x: 246, y: 450}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1180038150
MonoBehaviour:
@@ -17374,7 +17674,7 @@ MonoBehaviour:
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_ChildControlHeight: 0
@@ -18923,6 +19223,124 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 85815d386fde43dca8b4be1cfd26fe89, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1292211950
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1292211951}
- component: {fileID: 1292211953}
- component: {fileID: 1292211952}
- component: {fileID: 1292211955}
- component: {fileID: 1292211954}
m_Layer: 5
m_Name: Message Box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1292211951
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1292211950}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1316999574}
m_Father: {fileID: 923998313}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 322}
m_SizeDelta: {x: 186.01001, y: 42.01}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1292211952
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1292211950}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1292211953
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1292211950}
m_CullTransparentMesh: 1
--- !u!114 &1292211954
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1292211950}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 2
--- !u!114 &1292211955
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1292211950}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 30
m_Right: 30
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 4
m_Spacing: 0
m_ChildForceExpandWidth: 0
m_ChildForceExpandHeight: 0
m_ChildControlWidth: 1
m_ChildControlHeight: 1
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
--- !u!1 &1299926724
GameObject:
m_ObjectHideFlags: 0
@@ -19109,6 +19527,140 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 85815d386fde43dca8b4be1cfd26fe89, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1316999573
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1316999574}
- component: {fileID: 1316999576}
- component: {fileID: 1316999575}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1316999574
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1316999573}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1292211951}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 93.005005, y: -21.005}
m_SizeDelta: {x: 126.01, y: 42.01}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1316999575
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1316999573}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: New Text
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: ce7a5dae4e01a554ba14c36172700b78, type: 2}
m_sharedMaterial: {fileID: -8257615428076326078, guid: ce7a5dae4e01a554ba14c36172700b78, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 28
m_fontSizeBase: 28
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1316999576
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1316999573}
m_CullTransparentMesh: 1
--- !u!1 &1317294297
GameObject:
m_ObjectHideFlags: 0
@@ -19961,7 +20513,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 120, y: -151.33334}
m_AnchoredPosition: {x: 120, y: -152.5}
m_SizeDelta: {x: 240, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1380796560
@@ -20628,7 +21180,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &1403558893
RectTransform:
m_ObjectHideFlags: 0
@@ -25946,9 +26498,9 @@ RectTransform:
- {fileID: 1970860741}
m_Father: {fileID: 367483172}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 350, y: -25}
m_SizeDelta: {x: 80, y: 100}
m_Pivot: {x: 1, y: 1}
--- !u!222 &1928871882
@@ -28445,6 +28997,51 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2038437601}
m_CullTransparentMesh: 1
--- !u!1 &2047170512
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2047170513}
- component: {fileID: 2047170514}
m_Layer: 0
m_Name: TapTap Center
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2047170513
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047170512}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 719228339}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2047170514
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2047170512}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fb63fcec6dba72e4f94d8c36776bff51, type: 3}
m_Name:
m_EditorClassIdentifier:
_tapTapConfig: {fileID: 11400000, guid: 322fba183f2b0254da7b70c366cfc098, type: 2}
--- !u!1 &2056993778
GameObject:
m_ObjectHideFlags: 0
@@ -29488,7 +30085,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &2135943277
RectTransform:
m_ObjectHideFlags: 0
@@ -0,0 +1,20 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6707ed120e994c44f8e4d90efba9f25a, type: 3}
m_Name: TapTapConfig
m_EditorClassIdentifier:
clientId: tqmwrvd8bdazsmkcvl
clientToken:
region: 0
preferredLanguage: 0
enableLog: 0
tapUrl: https://l.taptap.cn/csOWJdsr?channel=rep-rep_xi3lz0oqas9
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 322fba183f2b0254da7b70c366cfc098
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -1,3 +1,4 @@
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
@@ -6,6 +7,7 @@ using AibisDream.Utility;
using DG.Tweening;
using Febucci.UI;
using Febucci.UI.Core;
using Newtonsoft.Json;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
@@ -21,6 +23,7 @@ namespace AibisDream.FixSystem
[SerializeField] private TMP_Text textForEstimation;
[SerializeField] private int maxLineNum = 10;
private ScreenData _screenData;
private GameObject _textItemPrefab;
private Queue<TypewriterByCharacter> _lineQueue;
@@ -46,6 +49,8 @@ namespace AibisDream.FixSystem
private void Register()
{
_screenData = new ScreenData { screenSystem = this };
StorageSystem.Instance.RegisterData(_screenData);
FixSystemCenter.SystemDic.Register(this);
DialogUIManager.Instance.RegisterScreenView(DialogViewType.Screen, this);
DialogUIManager.Instance.RegisterScreenView(DialogViewType.Task, TaskScreen);
@@ -53,6 +58,7 @@ namespace AibisDream.FixSystem
private void OnDestroy()
{
StorageSystem.Instance.UnregisterData<ScreenData>();
FixSystemCenter.SystemDic.Unregister<ScreenSystem>();
DialogUIManager.Instance.UnRegisterScreenView(DialogViewType.Screen);
DialogUIManager.Instance.UnRegisterScreenView(DialogViewType.Task);
@@ -76,9 +82,10 @@ namespace AibisDream.FixSystem
ShowTitle(string.Empty);
}
public void ShowTaskPanel()
public void ShowTaskPanel(float duration = 1f)
{
TaskScreen.transform.DOLocalMoveX(-7.12f, 1f);
TaskScreen.transform.DOLocalMoveX(-7.12f, duration);
_screenData.isTaskPanelShown = true;
}
#endregion
@@ -88,16 +95,16 @@ namespace AibisDream.FixSystem
// 空格延长一点避免报错
if (string.IsNullOrWhiteSpace(token.lineInfo.lineText))
{
token.lineInfo.lineText = " ";
token.lineInfo.lineText = " ";
}
// 显示标题
ShowTitle(token.lineInfo.character.GetActorName());
// 显示文本
TypewriterCore textItemTypewriter = AddText(token.lineInfo.lineText);
textItemTypewriter.SetTypewriterSpeed(GetTextSpeedValue());
textItemTypewriter.onTextShowed.AddListener(() => OnTextShown(token, textItemTypewriter));
TypewriterCore textItemTypewriter = AddText(token);
token.TextStart();
// 强制更新布局
LayoutRebuilder.ForceRebuildLayoutImmediate(textRoot);
}
@@ -114,13 +121,13 @@ namespace AibisDream.FixSystem
syncToken.TextShown();
}
private TypewriterByCharacter AddText(string newLine)
private TypewriterByCharacter AddText(LineSyncToken token)
{
// 生成新文本组件
var textItem = Instantiate(_textItemPrefab, textRoot);
var textItemTypewriter = textItem.GetComponent<TypewriterByCharacter>();
// 估算文本高度
var newLineNum = EstimateLineNum(newLine);
var newLineNum = EstimateLineNum(token.lineInfo.lineText);
var oldLineNum = CalcTotalLineNum();
if (newLineNum + oldLineNum > maxLineNum)
{
@@ -128,8 +135,10 @@ namespace AibisDream.FixSystem
}
_lineQueue.Enqueue(textItemTypewriter);
// 播放文本
textItemTypewriter.ShowText(newLine);
textItemTypewriter.SetTypewriterSpeed(GetTextSpeedValue());
textItemTypewriter.onTextShowed.AddListener(() => OnTextShown(token, textItemTypewriter));
textItemTypewriter.ShowText(token.lineInfo.lineText);
return textItemTypewriter;
}
@@ -146,4 +155,20 @@ namespace AibisDream.FixSystem
return _lineQueue.Select(x => x.GetComponent<TMP_Text>().textInfo.lineCount).Sum();
}
}
public class ScreenData : IData
{
[JsonIgnore]
public ScreenSystem screenSystem;
public bool isTaskPanelShown = false;
public IEnumerator Load()
{
if (isTaskPanelShown)
{
screenSystem.ShowTaskPanel(0);
}
yield break;
}
}
}
@@ -39,9 +39,9 @@ namespace AibisDream
}
[YarnCommand("show_task_panel")]
public static void ShowTaskPanel()
public static void ShowTaskPanel(float duration = 1f)
{
ScreenSystem.ShowTaskPanel();
ScreenSystem.ShowTaskPanel(duration);
}
}
}
+1 -1
View File
@@ -30,7 +30,7 @@ namespace AibisDream.Kit
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
private static void Initialize()
{
#if !UNITY_EDITOR
#if !UNITY_EDITOR && !UNITY_ANDROID && !UNITY_IOS
if (_isInitialized)
return;
@@ -71,7 +71,7 @@ namespace AibisDream
if (!ChapterData.unlockedChapterList.Contains(chapterSo.name))
{
ChapterData.unlockedChapterList.Add(chapterSo.name);
ChapterData.SaveUnloadChapters();
ChapterData.SaveUnlockChapters();
}
}
}
@@ -110,11 +110,9 @@ namespace AibisDream
: new List<string> { firstChapter.name };
}
public void SaveUnloadChapters()
public void SaveUnlockChapters()
{
#if !UNITY_ANDROID || UNITY_EDITOR
JsonUtil.SaveArray(unlockedChapterList.ToArray(), ConstRef.ChapterProgressPath);
#endif
}
public bool TryGetSaveFilePath(out string saveFilePath)
+7 -4
View File
@@ -42,10 +42,10 @@ namespace AibisDream
// 场景So事件注册
_currentTalkSceneSo = new BindProperty<TalkSceneSO>();
_currentTalkSceneSo.Register(item => _data.curSceneSoName = item.name);
// 事件广播
EnumEventSystem.Global.Send(GameLoopEnum.AppStart);
// 加载SO
Addressables.LoadAssetsAsync<TalkSceneSO>("SceneSO", null).Completed += LoadTalkSo;
// 初始化TapTap
TapTapCenter.Instance.Init();
#if UNITY_EDITOR
if (runMode == RunMode.SingleScene)
@@ -62,10 +62,12 @@ namespace AibisDream
.Callback(() => UIManager.Instance.GetPanel<PlayToolPanel>().FadeInSync(0))
.Coroutine(() => SceneLoader.Instance.LoadSceneAsync("ClinicOut"))
.Callback(() => UIManager.Instance.GetPanel<PlayToolPanel>().FadeOutSync())
.Callback(() => EnumEventSystem.Global.Send(GameLoopEnum.AppStart))
.Start(this);
}
#else
SceneLoader.Instance.LoadScene("ClinicOut");
// 事件广播
SceneLoader.Instance.LoadScene("ClinicOut", () => EnumEventSystem.Global.Send(GameLoopEnum.AppStart));
runMode = RunMode.Product;
#endif
}
@@ -78,7 +80,7 @@ namespace AibisDream
}
else
{
Debug.LogError("Failed to load textures.");
Debug.LogError("Failed to load talkso.");
}
}
@@ -164,6 +166,7 @@ namespace AibisDream
private IEnumerator RestartCoroutine()
{
UIManager.Instance.GetPanel<PlayToolPanel>().FadeInSync(0.1f);
UIManager.Instance.HidePanel<MainPanel>();
// 清理所有系统注册
if (FixSystemCenter.SystemDic != null)
+5 -3
View File
@@ -32,9 +32,9 @@ namespace AibisDream
/// 同步场景转换
/// </summary>
/// <param name="targetScene">目标场景</param>
public void LoadScene(string targetScene)
public void LoadScene(string targetScene, Action onComplete = null)
{
StartCoroutine(LoadSceneAsync(targetScene));
StartCoroutine(LoadSceneAsync(targetScene, onComplete));
}
/// <summary>
@@ -42,7 +42,7 @@ namespace AibisDream
/// </summary>
/// <param name="targetScene">目标场景</param>
/// <returns></returns>
public IEnumerator LoadSceneAsync(string targetScene)
public IEnumerator LoadSceneAsync(string targetScene, Action onComplete = null)
{
if (_isLoading)
{
@@ -79,6 +79,8 @@ namespace AibisDream
UIManager.Instance.GetPanel<InfoPanel>().HideLoading();
_isLoading = false;
onComplete?.Invoke();
}
}
+82
View File
@@ -0,0 +1,82 @@
using System;
using UnityEngine;
using AibisDream.Kit;
using TapSDK.Core;
using TapSDK.Rep;
namespace AibisDream
{
public class TapTapCenter : Singleton<TapTapCenter>
{
private bool _isInitialized = false;
[SerializeField] private TapTapConfig _tapTapConfig;
public override void OnSingletonInit()
{
base.OnSingletonInit();
DontDestroyOnLoad(gameObject);
}
public void Init()
{
#if UNITY_ANDROID || UNITY_IOS
try
{
if (_tapTapConfig == null)
{
Debug.LogError("TapTapConfig为空,请先配置TapTapConfig");
return;
}
// 核心配置
TapTapSdkOptions coreOptions = new TapTapSdkOptions
{
// 客户端 ID,开发者后台获取
clientId = _tapTapConfig.clientId,
// 客户端令牌,开发者后台获取
clientToken = _tapTapConfig.clientToken,
// 地区,CN 为国内,Overseas 为海外
region = _tapTapConfig.region,
// 语言,默认为 Auto,默认情况下,国内为 zh_Hans,海外为 en
preferredLanguage = TapTapLanguageType.Auto,
// 是否开启日志,Release 版本请设置为 false
enableLog = _tapTapConfig.enableLog
};
// TapSDK 初始化
ActionKit.Sequence()
.Task(async () => TapTapSDK.Init(coreOptions))
.Callback(() => _isInitialized = true)
.Callback(() => Debug.Log("TapTap SDK初始化成功"))
.Start(this);
}
catch (Exception e)
{
Debug.LogError($"TapTap SDK初始化失败: {e}");
}
#else
Debug.Log("TapTap登录仅在移动平台可用");
_isInitialized = false;
#endif
}
/// <summary>
/// 打开Tap指定链接
/// </summary>
/// <param name="callback"></param>
public void OpenTapUrl(Action<int, string> callback)
{
if (!_isInitialized)
{
Debug.LogError("TapTap SDK未初始化");
return;
}
Debug.Log($"打开TapTap链接: {_tapTapConfig.tapUrl}");
TapTapRep.Open(_tapTapConfig.tapUrl, callback);
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fb63fcec6dba72e4f94d8c36776bff51
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+19
View File
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TapSDK.Core;
namespace AibisDream
{
[CreateAssetMenu(fileName = "TapTapConfig", menuName = "Config/TapTapConfig")]
public class TapTapConfig : ScriptableObject
{
public string clientId;
public string clientToken;
public TapTapRegionType region;
public TapTapLanguageType preferredLanguage;
public bool enableLog;
public string tapUrl;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6707ed120e994c44f8e4d90efba9f25a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -42,7 +42,9 @@ namespace AibisDream
// CameraKit.Instance.uiCamera, out var worldPos);
// 判断当前要用什么样的指针
#if UNITY_EDITOR || !(UNITY_ANDROID || UNITY_IOS)
_cursor.rectTransform.position = Input.mousePosition;
#endif
var cursorState = CheckCursorState();
_cursor.sprite = GetCursorSprite(cursorState);
+1 -1
View File
@@ -121,7 +121,7 @@ namespace AibisDream
public void ShowLine(string line)
{
_typewriter.ShowText("");
_typewriter.TextAnimator.SetText("");
gameObject.SetActive(true);
HandleLayout(line);
_typewriter.ShowText(line);
@@ -13,6 +13,11 @@ namespace AibisDream
public int Idx => 0;
public event Action OnLineShown;
private void Awake()
{
gameObject.SetActive(false);
}
private void OnEnable()
{
dialogText.onTextShowed.AddListener(InvokeLineShown);
+49
View File
@@ -1,4 +1,7 @@
using AibisDream.Kit;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace AibisDream.UI
{
@@ -6,6 +9,9 @@ namespace AibisDream.UI
{
[SerializeField] private DemoTimer demoTimer;
[SerializeField] private GameObject loading;
[SerializeField] private GameObject messageBox;
private IActionController _messageActionController;
public void SetTimerActive(bool isOpen)
{
@@ -27,6 +33,49 @@ namespace AibisDream.UI
loading?.SetActive(false);
}
/// <summary>
/// 显示消息,并在指定时间后自动隐藏
/// </summary>
/// <param name="message">要显示的消息内容</param>
/// <param name="duration">显示持续时间(秒),默认2秒</param>
public void ShowMessage(string message, float duration = 2f)
{
// 如果之前有消息正在显示,先取消之前的延时动作
if (_messageActionController != null)
{
_messageActionController.Deinit();
_messageActionController = null;
}
if (messageBox != null)
{
messageBox.GetComponentInChildren<TMP_Text>().text = message;
messageBox.SetActive(true);
// 使用ActionKit创建延时动作
_messageActionController = ActionKit.Delay(duration, () =>
{
HideMessage();
_messageActionController = null;
}).Start(this);
}
}
public void HideMessage()
{
// 如果消息正在显示,取消延时动作
if (_messageActionController != null)
{
_messageActionController.Deinit();
_messageActionController = null;
}
if (messageBox != null)
{
messageBox.SetActive(false);
}
}
public void Show()
{
gameObject.SetActive(true);
+17
View File
@@ -63,6 +63,7 @@ namespace AibisDream.UI
Application.OpenURL(url);
});
others.Find("愿望单").GetComponent<Button>().onClick.AddListener(() => Application.OpenURL(ConstRef.WishlistURL));
others.Find("TapTap").GetComponent<Button>().onClick.AddListener(OpenTapUrl);
}
#region
@@ -92,6 +93,22 @@ namespace AibisDream.UI
GameManager.Instance.QuitApp();
}
private void OpenTapUrl()
{
TapTapCenter.Instance.OpenTapUrl((code, message) =>
{
if (code == 0)
{
Debug.Log("打开Tap链接成功");
}
else
{
Debug.LogError($"打开Tap链接失败: {message}");
UIManager.Instance.ShowMessage("打开Tap链接失败");
}
});
}
#endregion
}
}
+25
View File
@@ -204,6 +204,31 @@ namespace AibisDream
return results.Count > 0 && results.Any(result => result.gameObject.CompareTag(regionTag));
}
/// <summary>
/// 显示系统消息提示
/// </summary>
/// <param name="message">要显示的消息内容</param>
/// <param name="duration">显示持续时间(秒),默认2秒</param>
public void ShowMessage(string message, float duration = 2f)
{
var infoPanel = GetPanel<InfoPanel>();
if (infoPanel != null)
{
// 确保InfoPanel是激活的
if (!infoPanel.IsOpen)
{
infoPanel.Show();
}
// 调用InfoPanel的ShowMessage方法,延时逻辑在InfoPanel内部处理
infoPanel.ShowMessage(message, duration);
}
else
{
Debug.LogWarning("InfoPanel未找到,无法显示消息");
}
}
}
public interface IUIManager
+4 -1
View File
@@ -5,10 +5,13 @@ namespace AibisDream.Utility
{
public static class ConstRef
{
#if UNITY_ANDROID || UNITY_IOS
public const string QQURL = "https://qm.qq.com/q/Rfvn9jeyUc";
#else
public const string QQURL = "https://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XQFpOqRb1_zqkCdR2bLT3kHb11XzZ54T" +
"&authKey=w8G8qxzecnATXDOec1Ybv8LA%2FTTN8gQkyegvbK%2FUZ9m90WxggTjXy2U6%2FJes" +
"WJF3&noverify=0&group_code=325268983";
#endif
public const string DiscordURL = "https://discord.gg/C7Xv8Z9NxG";
public const string BugSurveyURL = "https://jsj.top/f/F24cC6";
+2 -2
View File
@@ -37,8 +37,8 @@ HeartModule,C03UR型特配<br>涡轮增压动力模块,C03UR special turbocharge
LungModule,MK1型<br>气体处理模块,MK1 type gas processing module,Screen,Aside,#E6A23C,,,
LiverModule,MK1型<br>冷却液循环模块,MK1 type coolant circulation module,Screen,Aside,#E6A23C,,,
DigestModule,MK1型<br>物料处理模块,MK1 type material processing module,Screen,Aside,#E6A23C,,,
CenterText,,,CenterText,Aside,,,,
CenterOption,,,CenterOption,Aside,,,,
CenterText,,,CenterText,Center,,,,
CenterOption,,,CenterOption,Center,,,,
Task,,,Task,Aside,,,,
TempText,,,Default,Aside,,,,
gotash?,,,Default,MainActor,,,VO/voice_GTS_broken,
1 通过key索引配置 中文名 显示位置,Default使用默认,Screen插线屏幕,OldBox基本对话框 人物角色(Player/MainActor/Aside) 名称显示时的颜色 头像Pic路径 语音资源路径 气泡序号(默认0)
37 LungModule MK1型<br>气体处理模块 MK1 type gas processing module Screen Aside #E6A23C
38 LiverModule MK1型<br>冷却液循环模块 MK1 type coolant circulation module Screen Aside #E6A23C
39 DigestModule MK1型<br>物料处理模块 MK1 type material processing module Screen Aside #E6A23C
40 CenterText CenterText Aside Center
41 CenterOption CenterOption Aside Center
42 Task Task Aside
43 TempText Default Aside
44 gotash? Default MainActor VO/voice_GTS_broken
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bdcd9608035a82e46af679b87b5255a2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 44f40d3225ea45541a814d2dc9396f9c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: daa1d898de961c44899647c80dede488
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,166 @@
fileFormatVersion: 2
guid: 90f583f5ccc4c7c49bb484c9b4a47ea3
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
+18
View File
@@ -1,8 +1,12 @@
{
"dependencies": {
"com.google.external-dependency-manager": "1.2.186",
"com.taptap.sdk.core": "4.10.0-beta.1",
"com.taptap.sdk.rep": "4.10.0-beta.1",
"com.unity.addressables": "1.21.21",
"com.unity.cinemachine": "2.9.7",
"com.unity.collab-proxy": "2.0.5",
"com.unity.device-simulator.devices": "1.0.1",
"com.unity.feature.2d": "2.0.0",
"com.unity.ide.cursor": "https://github.com/boxqkrtm/com.unity.ide.cursor.git",
"com.unity.ide.rider": "3.0.24",
@@ -56,6 +60,20 @@
"scopes": [
"dev.yarnspinner"
]
},
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"com.google.external-dependency-manager"
]
},
{
"name": "NPMJS",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.taptap"
]
}
]
}
+32
View File
@@ -1,5 +1,30 @@
{
"dependencies": {
"com.google.external-dependency-manager": {
"version": "1.2.186",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://package.openupm.com"
},
"com.taptap.sdk.core": {
"version": "4.10.0-beta.1",
"depth": 0,
"source": "registry",
"dependencies": {
"com.google.external-dependency-manager": "1.2.179"
},
"url": "https://registry.npmjs.org"
},
"com.taptap.sdk.rep": {
"version": "4.10.0-beta.1",
"depth": 0,
"source": "registry",
"dependencies": {
"com.taptap.sdk.core": "4.10.0-beta.1"
},
"url": "https://registry.npmjs.org"
},
"com.unity.2d.animation": {
"version": "9.0.3",
"depth": 1,
@@ -143,6 +168,13 @@
},
"url": "https://packages.unity.cn"
},
"com.unity.device-simulator.devices": {
"version": "1.0.1",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.cn"
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 1,
@@ -0,0 +1,24 @@
<dependencies>
<packages>
<package>com.taptap.sdk:tap-core-unity:4.10.0-beta.1</package>
<package>com.taptap.sdk:tap-rep:4.10.0-beta.1</package>
</packages>
<files />
<settings>
<setting name="androidAbis" value="arm64-v8a" />
<setting name="bundleId" value="com.Tinbird.AllOurBrokenParts" />
<setting name="explodeAars" value="True" />
<setting name="gradleBuildEnabled" value="True" />
<setting name="gradlePropertiesTemplateEnabled" value="True" />
<setting name="gradleTemplateEnabled" value="True" />
<setting name="installAndroidPackages" value="True" />
<setting name="localMavenRepoDir" value="Assets/GeneratedLocalRepo" />
<setting name="packageDir" value="Assets/Plugins/Android" />
<setting name="patchAndroidManifest" value="True" />
<setting name="patchMainTemplateGradle" value="True" />
<setting name="projectExportEnabled" value="False" />
<setting name="useFullCustomMavenRepoPathWhenExport" value="True" />
<setting name="useFullCustomMavenRepoPathWhenNotExport" value="False" />
<setting name="useJetifier" value="True" />
</settings>
</dependencies>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<projectSettings>
<projectSetting name="com.google.external-dependency-managerAnalyticsCookie" value="4780b02e60044d61b3d8f2314d3de6e2" />
<projectSetting name="com.google.external-dependency-managerAnalyticsEnabled" value="True" />
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
</projectSettings>
+19 -3
View File
@@ -34,11 +34,27 @@ MonoBehaviour:
m_IsDefault: 0
m_Capabilities: 0
m_ConfigSource: 4
m_UserSelectedRegistryName: OpenUPM
- m_Id: scoped:project:package.openupm.com
m_Name: package.openupm.com
m_Url: https://package.openupm.com
m_Scopes:
- com.google.external-dependency-manager
m_IsDefault: 0
m_Capabilities: 0
m_ConfigSource: 4
- m_Id: scoped:project:NPMJS
m_Name: NPMJS
m_Url: https://registry.npmjs.org
m_Scopes:
- com.taptap
m_IsDefault: 0
m_Capabilities: 0
m_ConfigSource: 4
m_UserSelectedRegistryName: NPMJS
m_UserAddingNewScopedRegistry: 0
m_RegistryInfoDraft:
m_Modified: 0
m_ErrorMessage:
m_UserModificationsInstanceId: -838
m_OriginalInstanceId: -840
m_UserModificationsInstanceId: -834
m_OriginalInstanceId: -838
m_LoadAssets: 0
+104 -7
View File
@@ -133,7 +133,7 @@ PlayerSettings:
vulkanEnableLateAcquireNextImage: 0
vulkanEnableCommandBufferRecycling: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 0.3.3.28-20251222-184826
bundleVersion: 0.3.3.58-20260112-155246
preloadedAssets:
- {fileID: 11400000, guid: 0fb2bc2476953fc43a74f0ab8879077c, type: 2}
metroInputSource: 0
@@ -163,7 +163,7 @@ PlayerSettings:
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 1
AndroidBundleVersionCode: 1
AndroidBundleVersionCode: 23
AndroidMinSdkVersion: 22
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
@@ -247,18 +247,18 @@ PlayerSettings:
templateDefaultScene: Assets/Scenes/SampleScene.unity
useCustomMainManifest: 1
useCustomLauncherManifest: 0
useCustomMainGradleTemplate: 0
useCustomMainGradleTemplate: 1
useCustomLauncherGradleManifest: 0
useCustomBaseGradleTemplate: 0
useCustomGradlePropertiesTemplate: 0
useCustomGradlePropertiesTemplate: 1
useCustomGradleSettingsTemplate: 0
useCustomProguardFile: 0
AndroidTargetArchitectures: 2
AndroidTargetDevices: 0
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName:
AndroidKeyaliasName:
AndroidKeystoreName: "D:/\u827E\u6BD4\u65AF\u4E4B\u68A6\u7D20\u6750\u4E2D\u5FC3/\u5BC6\u94A5/aibis-release-key.keystore"
AndroidKeyaliasName: aibis-release
AndroidEnableArmv9SecurityFeatures: 0
AndroidBuildApkPerCpuArchitecture: 0
AndroidTVCompatibility: 0
@@ -266,7 +266,7 @@ PlayerSettings:
AndroidEnableTango: 0
androidEnableBanner: 1
androidUseLowAccuracyLocation: 0
androidUseCustomKeystore: 0
androidUseCustomKeystore: 1
m_AndroidBanners:
- width: 320
height: 180
@@ -378,6 +378,103 @@ PlayerSettings:
m_Height: 36
m_Kind: 0
m_SubKind:
- m_BuildTarget: iPhone
m_Icons:
- m_Textures: []
m_Width: 180
m_Height: 180
m_Kind: 0
m_SubKind: iPhone
- m_Textures: []
m_Width: 120
m_Height: 120
m_Kind: 0
m_SubKind: iPhone
- m_Textures: []
m_Width: 167
m_Height: 167
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 152
m_Height: 152
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 76
m_Height: 76
m_Kind: 0
m_SubKind: iPad
- m_Textures: []
m_Width: 120
m_Height: 120
m_Kind: 3
m_SubKind: iPhone
- m_Textures: []
m_Width: 80
m_Height: 80
m_Kind: 3
m_SubKind: iPhone
- m_Textures: []
m_Width: 80
m_Height: 80
m_Kind: 3
m_SubKind: iPad
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 3
m_SubKind: iPad
- m_Textures: []
m_Width: 87
m_Height: 87
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 58
m_Height: 58
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 29
m_Height: 29
m_Kind: 1
m_SubKind: iPhone
- m_Textures: []
m_Width: 58
m_Height: 58
m_Kind: 1
m_SubKind: iPad
- m_Textures: []
m_Width: 29
m_Height: 29
m_Kind: 1
m_SubKind: iPad
- m_Textures: []
m_Width: 60
m_Height: 60
m_Kind: 2
m_SubKind: iPhone
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 2
m_SubKind: iPhone
- m_Textures: []
m_Width: 40
m_Height: 40
m_Kind: 2
m_SubKind: iPad
- m_Textures: []
m_Width: 20
m_Height: 20
m_Kind: 2
m_SubKind: iPad
- m_Textures: []
m_Width: 1024
m_Height: 1024
m_Kind: 4
m_SubKind: App Store
m_BuildTargetBatching: []
m_BuildTargetShaderSettings: []
m_BuildTargetGraphicsJobs: []