diff --git a/CHANGELOG.md b/CHANGELOG.md index 0da29917..7e1b28e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ Change Log ========== +Version 4.1.0 *(13 December, 2024)* +------------------------------------------- +- Updated to [CleverTap Android SDK v7.0.3](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev7.0.3) +- Updated to [CleverTap iOS SDK v7.0.3](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/7.0.3) +- Supports launch with proxy and spiky proxy domain +- Supports file type variables +- Unity native networking improvements +- Fixes missing GetAllInboxMessages() in Android plugin +- Fixes string variables on Android always having default values +- Fixes json messages send from Android Unity plugin + Version 4.0.0 *(07 August, 2024)* ------------------------------------------- - Added native support for WebGL, Mac and Windows platform diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager.meta b/CTExample/Assets/ExternalDependencyManager.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager.meta rename to CTExample/Assets/ExternalDependencyManager.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor.meta b/CTExample/Assets/ExternalDependencyManager/Editor.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor.meta rename to CTExample/Assets/ExternalDependencyManager/Editor.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.mdb.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.mdb.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.JarResolver.dll.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.mdb.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.PackageManagerResolver.dll.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.mdb.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.meta b/CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/1.2.177/Google.VersionHandlerImpl.dll.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/CHANGELOG.md b/CTExample/Assets/ExternalDependencyManager/Editor/CHANGELOG.md similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/CHANGELOG.md rename to CTExample/Assets/ExternalDependencyManager/Editor/CHANGELOG.md diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta b/CTExample/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll b/CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll rename to CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb b/CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb rename to CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb.meta b/CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta b/CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/LICENSE b/CTExample/Assets/ExternalDependencyManager/Editor/LICENSE similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/LICENSE rename to CTExample/Assets/ExternalDependencyManager/Editor/LICENSE diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/LICENSE.meta b/CTExample/Assets/ExternalDependencyManager/Editor/LICENSE.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/LICENSE.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/LICENSE.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/README.md b/CTExample/Assets/ExternalDependencyManager/Editor/README.md similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/README.md rename to CTExample/Assets/ExternalDependencyManager/Editor/README.md diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/README.md.meta b/CTExample/Assets/ExternalDependencyManager/Editor/README.md.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/README.md.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/README.md.meta diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt b/CTExample/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt rename to CTExample/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt diff --git a/CTIntegrationTests/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt.meta b/CTExample/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt.meta similarity index 100% rename from CTIntegrationTests/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt.meta rename to CTExample/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.177_manifest.txt.meta diff --git a/CTIntegrationTests/Assets/Plugins.meta b/CTExample/Assets/Plugins.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins.meta rename to CTExample/Assets/Plugins.meta diff --git a/CTIntegrationTests/Assets/Plugins/Android.meta b/CTExample/Assets/Plugins/Android.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android.meta rename to CTExample/Assets/Plugins/Android.meta diff --git a/CTIntegrationTests/Assets/Plugins/Android/AndroidManifest.xml b/CTExample/Assets/Plugins/Android/AndroidManifest.xml similarity index 97% rename from CTIntegrationTests/Assets/Plugins/Android/AndroidManifest.xml rename to CTExample/Assets/Plugins/Android/AndroidManifest.xml index f2b75393..7e7db6e0 100644 --- a/CTIntegrationTests/Assets/Plugins/Android/AndroidManifest.xml +++ b/CTExample/Assets/Plugins/Android/AndroidManifest.xml @@ -81,10 +81,6 @@ - - @@ -93,6 +89,10 @@ android:name="CLEVERTAP_TOKEN" android:value="Your CleverTap Account Token" /> + + \ No newline at end of file diff --git a/CTIntegrationTests/Assets/Plugins/Android/AndroidManifest.xml.meta b/CTExample/Assets/Plugins/Android/AndroidManifest.xml.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/AndroidManifest.xml.meta rename to CTExample/Assets/Plugins/Android/AndroidManifest.xml.meta diff --git a/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle b/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle new file mode 100644 index 00000000..fc346665 --- /dev/null +++ b/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle @@ -0,0 +1,14 @@ +plugins { + // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity + // See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html + // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle + // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version + id 'com.android.application' version '7.4.2' apply false + id 'com.android.library' version '7.4.2' apply false + id 'com.google.gms.google-services' version '4.4.2' apply false + **BUILD_SCRIPT_DEPS** +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle.meta b/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle.meta new file mode 100644 index 00000000..c3acc174 --- /dev/null +++ b/CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0809b389478c74acf8baa2d154e7d385 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTIntegrationTests/Assets/Plugins/Android/gradleTemplate.properties b/CTExample/Assets/Plugins/Android/gradleTemplate.properties similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/gradleTemplate.properties rename to CTExample/Assets/Plugins/Android/gradleTemplate.properties diff --git a/CTIntegrationTests/Assets/Plugins/Android/gradleTemplate.properties.meta b/CTExample/Assets/Plugins/Android/gradleTemplate.properties.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/gradleTemplate.properties.meta rename to CTExample/Assets/Plugins/Android/gradleTemplate.properties.meta diff --git a/CTExample/Assets/Plugins/Android/launcherTemplate.gradle b/CTExample/Assets/Plugins/Android/launcherTemplate.gradle new file mode 100644 index 00000000..68c23bff --- /dev/null +++ b/CTExample/Assets/Plugins/Android/launcherTemplate.gradle @@ -0,0 +1,65 @@ +apply plugin: 'com.android.application' +apply plugin: 'com.google.gms.google-services' + +dependencies { + implementation project(':unityLibrary') + implementation(platform("com.google.firebase:firebase-bom:31.0.0")) + implementation("com.google.firebase:firebase-messaging") +} + +android { + namespace "**NAMESPACE**" + ndkPath "**NDKPATH**" + + compileSdkVersion **APIVERSION** + buildToolsVersion '**BUILDTOOLS**' + + compileOptions { + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 + } + + defaultConfig { + minSdkVersion **MINSDKVERSION** + targetSdkVersion **TARGETSDKVERSION** + applicationId '**APPLICATIONID**' + ndk { + abiFilters **ABIFILTERS** + } + versionCode **VERSIONCODE** + versionName '**VERSIONNAME**' + } + + aaptOptions { + noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') + ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" + }**SIGN** + + lintOptions { + abortOnError false + } + + buildTypes { + debug { + minifyEnabled **MINIFY_DEBUG** + proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** + jniDebuggable true + } + release { + minifyEnabled **MINIFY_RELEASE** + proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** + } + }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS** +**BUILT_APK_LOCATION** + bundle { + language { + enableSplit = false + } + density { + enableSplit = false + } + abi { + enableSplit = true + } + } +}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP** diff --git a/CTExample/Assets/Plugins/Android/launcherTemplate.gradle.meta b/CTExample/Assets/Plugins/Android/launcherTemplate.gradle.meta new file mode 100644 index 00000000..f41b8b17 --- /dev/null +++ b/CTExample/Assets/Plugins/Android/launcherTemplate.gradle.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3f1e00136ae6742249c84b6f9246df9d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Plugins/Android/mainTemplate.gradle b/CTExample/Assets/Plugins/Android/mainTemplate.gradle new file mode 100644 index 00000000..8fbef690 --- /dev/null +++ b/CTExample/Assets/Plugins/Android/mainTemplate.gradle @@ -0,0 +1,60 @@ +apply plugin: 'com.android.library' +**APPLY_PLUGINS** + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) + // MANDATORY for CleverTap App Inbox + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'androidx.recyclerview:recyclerview:1.2.1' + implementation 'androidx.viewpager:viewpager:1.0.0' + implementation 'com.google.android.material:material:1.4.0' + implementation 'com.github.bumptech.glide:glide:4.12.0' + + // Optional ExoPlayer Libraries for CleverTap Audio/Video Inbox Messages. + // Audio/Video messages will be dropped without these dependencies + implementation "com.google.android.exoplayer:exoplayer:2.19.1" + implementation "com.google.android.exoplayer:exoplayer-hls:2.19.1" + implementation "com.google.android.exoplayer:exoplayer-ui:2.19.1" + + // Optional AndroidX Media3 Libraries for CleverTap Audio/Video Inbox Messages. + // Audio/Video messages will be dropped without these dependencies + // implementation "androidx.media3:media3-exoplayer:1.1.1" + // implementation "androidx.media3:media3-exoplayer-hls:1.1.1" + // implementation "androidx.media3:media3-ui:1.1.1" +**DEPS**} + +android { + namespace "com.unity3d.player" + 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** diff --git a/CTIntegrationTests/Assets/Plugins/Android/mainTemplate.gradle.meta b/CTExample/Assets/Plugins/Android/mainTemplate.gradle.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/mainTemplate.gradle.meta rename to CTExample/Assets/Plugins/Android/mainTemplate.gradle.meta diff --git a/CTIntegrationTests/Assets/Plugins/Android/settingsTemplate.gradle b/CTExample/Assets/Plugins/Android/settingsTemplate.gradle similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/settingsTemplate.gradle rename to CTExample/Assets/Plugins/Android/settingsTemplate.gradle diff --git a/CTIntegrationTests/Assets/Plugins/Android/settingsTemplate.gradle.meta b/CTExample/Assets/Plugins/Android/settingsTemplate.gradle.meta similarity index 100% rename from CTIntegrationTests/Assets/Plugins/Android/settingsTemplate.gradle.meta rename to CTExample/Assets/Plugins/Android/settingsTemplate.gradle.meta diff --git a/CTExample/Assets/Prefabs.meta b/CTExample/Assets/Prefabs.meta new file mode 100644 index 00000000..cc31b9c2 --- /dev/null +++ b/CTExample/Assets/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e286a2b75b7c347f489f8550b4e50f3a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Prefabs/Button.prefab b/CTExample/Assets/Prefabs/Button.prefab new file mode 100644 index 00000000..6f92c3c5 --- /dev/null +++ b/CTExample/Assets/Prefabs/Button.prefab @@ -0,0 +1,202 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1225684961504094 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 224412516315191226} + - component: {fileID: 222911614136193330} + - component: {fileID: 114388102309910848} + - component: {fileID: 114125796543351124} + m_Layer: 5 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &224412516315191226 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1225684961504094} + 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: 224913990163595890} + m_Father: {fileID: 0} + 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_SizeDelta: {x: 0, y: 120} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &222911614136193330 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1225684961504094} + m_CullTransparentMesh: 0 +--- !u!114 &114388102309910848 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1225684961504094} + 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: 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: f1b2f16b15a3c446cba1456f33b78a75, type: 3} + 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!114 &114125796543351124 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1225684961504094} + 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: Highlighted + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 114388102309910848} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &1976496310621568 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 224913990163595890} + - component: {fileID: 222888274510904002} + - component: {fileID: 114440545205759142} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &224913990163595890 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1976496310621568} + 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: 224412516315191226} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &222888274510904002 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1976496310621568} + m_CullTransparentMesh: 0 +--- !u!114 &114440545205759142 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1976496310621568} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 42 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 42 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Button diff --git a/CTExample/Assets/Prefabs/Button.prefab.meta b/CTExample/Assets/Prefabs/Button.prefab.meta new file mode 100644 index 00000000..b3671282 --- /dev/null +++ b/CTExample/Assets/Prefabs/Button.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 52731d94d62b5413e8e41c622d1de0f6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Prefabs/CustomMessage.prefab b/CTExample/Assets/Prefabs/CustomMessage.prefab new file mode 100644 index 00000000..9165ffea --- /dev/null +++ b/CTExample/Assets/Prefabs/CustomMessage.prefab @@ -0,0 +1,833 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2856363853877090655 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1226338823811396803} + - component: {fileID: 1632831391786163732} + - component: {fileID: 6526699448749601644} + - component: {fileID: 5176696312764420814} + m_Layer: 0 + m_Name: Accept Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1226338823811396803 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2856363853877090655} + 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_Children: + - {fileID: 267420053487177733} + m_Father: {fileID: 8984743505231448836} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.14} + m_AnchorMax: {x: 1, y: 0.25} + m_AnchoredPosition: {x: 0, y: 2.5} + m_SizeDelta: {x: -100, y: -5} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1632831391786163732 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2856363853877090655} + m_CullTransparentMesh: 0 +--- !u!114 &6526699448749601644 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2856363853877090655} + 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: 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: 10905, 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!114 &5176696312764420814 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2856363853877090655} + 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: 6526699448749601644} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &4381417072229915268 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4381417072229915275} + - component: {fileID: 4381417072229915273} + - component: {fileID: 4381417072229915274} + m_Layer: 0 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4381417072229915275 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072229915268} + 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_Children: [] + m_Father: {fileID: 4381417073672103881} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4381417072229915273 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072229915268} + m_CullTransparentMesh: 0 +--- !u!114 &4381417072229915274 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072229915268} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 60 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 60 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Cancel +--- !u!1 &4381417072878537697 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4381417072878537696} + - component: {fileID: 4381417072878537702} + - component: {fileID: 4381417072878537703} + m_Layer: 0 + m_Name: Title + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4381417072878537696 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072878537697} + 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_Children: [] + m_Father: {fileID: 8984743505231448836} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -144} + m_SizeDelta: {x: -100, y: 200} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4381417072878537702 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072878537697} + m_CullTransparentMesh: 0 +--- !u!114 &4381417072878537703 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417072878537697} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.8867924, g: 0.8867924, b: 0.8867924, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 80 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 25 + m_MaxSize: 80 + m_Alignment: 1 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Title +--- !u!1 &4381417073436623553 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4381417073436623557} + - component: {fileID: 4381417073436623558} + - component: {fileID: 4381417073436623559} + - component: {fileID: 4381417073436623552} + - component: {fileID: 5872029764811783762} + m_Layer: 0 + m_Name: CustomMessage + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4381417073436623557 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073436623553} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 4381417073704010164} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!223 &4381417073436623558 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073436623553} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!114 &4381417073436623559 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073436623553} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!114 &4381417073436623552 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073436623553} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &5872029764811783762 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073436623553} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 02771a2f167fa497daf562c67afe8565, type: 3} + m_Name: + m_EditorClassIdentifier: + MessagePanel: {fileID: 8969840771132359611} + Title: {fileID: 4381417072878537703} + MessageText: {fileID: 8325347206069980525} + AcceptButton: {fileID: 5176696312764420814} + CancelButton: {fileID: 4381417073672103880} +--- !u!1 &4381417073672103882 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4381417073672103881} + - component: {fileID: 4381417073672103886} + - component: {fileID: 4381417073672103887} + - component: {fileID: 4381417073672103880} + m_Layer: 0 + m_Name: Cancel Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4381417073672103881 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073672103882} + 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_Children: + - {fileID: 4381417072229915275} + m_Father: {fileID: 8984743505231448836} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.02} + m_AnchorMax: {x: 1, y: 0.12} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -100, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4381417073672103886 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073672103882} + m_CullTransparentMesh: 0 +--- !u!114 &4381417073672103887 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073672103882} + 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: 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: 10905, 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!114 &4381417073672103880 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073672103882} + 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: 4381417073672103887} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &4381417073704010165 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4381417073704010164} + - component: {fileID: 4381417073704010170} + - component: {fileID: 4381417073704010171} + m_Layer: 0 + m_Name: View + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4381417073704010164 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073704010165} + 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_Children: + - {fileID: 8984743505231448836} + m_Father: {fileID: 4381417073436623557} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4381417073704010170 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073704010165} + m_CullTransparentMesh: 0 +--- !u!114 &4381417073704010171 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4381417073704010165} + 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.47058824} + 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!1 &4738723203173770914 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 267420053487177733} + - component: {fileID: 8569910726991327215} + - component: {fileID: 3183319249669156101} + m_Layer: 0 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &267420053487177733 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4738723203173770914} + 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_Children: [] + m_Father: {fileID: 1226338823811396803} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8569910726991327215 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4738723203173770914} + m_CullTransparentMesh: 0 +--- !u!114 &3183319249669156101 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4738723203173770914} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 60 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 10 + m_MaxSize: 60 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Accept +--- !u!1 &8759388297038293244 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9095117559814667500} + - component: {fileID: 786030242572855934} + - component: {fileID: 8325347206069980525} + m_Layer: 0 + m_Name: Message Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &9095117559814667500 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8759388297038293244} + 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_Children: [] + m_Father: {fileID: 8984743505231448836} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.3} + m_AnchorMax: {x: 1, y: 0.85} + m_AnchoredPosition: {x: 317, y: -32.5} + m_SizeDelta: {x: -100, y: -17.068848} + m_Pivot: {x: -2.67, y: 0.5} +--- !u!222 &786030242572855934 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8759388297038293244} + m_CullTransparentMesh: 0 +--- !u!114 &8325347206069980525 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8759388297038293244} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 80 + m_FontStyle: 0 + m_BestFit: 1 + m_MinSize: 15 + m_MaxSize: 80 + m_Alignment: 1 + m_AlignByGeometry: 1 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Message +--- !u!1 &8969840771132359611 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8984743505231448836} + - component: {fileID: 5024275285985605655} + - component: {fileID: 5186892245816389972} + m_Layer: 0 + m_Name: Message + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8984743505231448836 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8969840771132359611} + 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_Children: + - {fileID: 4381417072878537696} + - {fileID: 9095117559814667500} + - {fileID: 1226338823811396803} + - {fileID: 4381417073672103881} + m_Father: {fileID: 4381417073704010164} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -100, y: -100.000015} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5024275285985605655 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8969840771132359611} + m_CullTransparentMesh: 0 +--- !u!114 &5186892245816389972 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8969840771132359611} + 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: 0.19215687, g: 0.3019608, b: 0.4745098, 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: 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 diff --git a/CTExample/Assets/Prefabs/CustomMessage.prefab.meta b/CTExample/Assets/Prefabs/CustomMessage.prefab.meta new file mode 100644 index 00000000..666d6503 --- /dev/null +++ b/CTExample/Assets/Prefabs/CustomMessage.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0237f91a85d9b43c39f66dea1529612a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Prefabs/InputPanel.prefab b/CTExample/Assets/Prefabs/InputPanel.prefab new file mode 100644 index 00000000..001f3101 --- /dev/null +++ b/CTExample/Assets/Prefabs/InputPanel.prefab @@ -0,0 +1,1084 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &236707210277217038 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6782027232870486791} + - component: {fileID: 3230992606853926063} + m_Layer: 0 + m_Name: Text Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6782027232870486791 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236707210277217038} + 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: 4147044675156059330} + - {fileID: 7897357906257245294} + m_Father: {fileID: 3439667122281886067} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: -20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &3230992606853926063 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 236707210277217038} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: {x: -8, y: -5, z: -8, w: -5} + m_Softness: {x: 0, y: 0} +--- !u!1 &652876360553507241 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6672616906762731844} + - component: {fileID: 3709516022456875276} + - component: {fileID: 3751186765893911129} + m_Layer: 0 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6672616906762731844 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 652876360553507241} + 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: 6328073148466844744} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3709516022456875276 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 652876360553507241} + m_CullTransparentMesh: 1 +--- !u!114 &3751186765893911129 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 652876360553507241} + 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: Record event + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4281479730 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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: 42 + m_fontSizeBase: 42 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + 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!1 &681122156574054861 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2576122954372755500} + - component: {fileID: 1035216404993200930} + - component: {fileID: 5185205530670549879} + - component: {fileID: 5768521657948546544} + - component: {fileID: 5020878105018589246} + - component: {fileID: 533963294294784949} + m_Layer: 0 + m_Name: InputPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2576122954372755500 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + 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: 8598575004439867910} + - {fileID: 3439667122281886067} + - {fileID: 6328073148466844744} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1035216404993200930 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + m_CullTransparentMesh: 1 +--- !u!114 &5185205530670549879 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + 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: 0.4811321, g: 0.47432363, b: 0.47432363, 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: 21300000, guid: f1b2f16b15a3c446cba1456f33b78a75, type: 3} + 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!114 &5768521657948546544 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 34ffaba75e99843d7ae4265152f4626c, type: 3} + m_Name: + m_EditorClassIdentifier: + title: {fileID: 3212629483139426856} + textInput: {fileID: 1841117475296298045} + placeholder: {fileID: 1652595739558701370} + button: {fileID: 6131953240668864542} +--- !u!114 &5020878105018589246 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 10 + m_Right: 10 + m_Top: 20 + m_Bottom: 20 + m_ChildAlignment: 0 + m_Spacing: 25 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &533963294294784949 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 681122156574054861} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!1 &5702109328374100796 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8598575004439867910} + - component: {fileID: 747673711429542692} + - component: {fileID: 3212629483139426856} + m_Layer: 0 + m_Name: Title (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8598575004439867910 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5702109328374100796} + 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: 2576122954372755500} + 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_SizeDelta: {x: 0, y: 60} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &747673711429542692 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5702109328374100796} + m_CullTransparentMesh: 1 +--- !u!114 &3212629483139426856 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5702109328374100796} + 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: Record Event + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 46 + m_fontSizeBase: 46 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 1 + m_HorizontalAlignment: 1 + 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!1 &6780489862465879769 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6328073148466844744} + - component: {fileID: 2927099789590338236} + - component: {fileID: 6127068117546407553} + - component: {fileID: 6131953240668864542} + m_Layer: 0 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6328073148466844744 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6780489862465879769} + 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: 6672616906762731844} + m_Father: {fileID: 2576122954372755500} + 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_SizeDelta: {x: 0, y: 100} + m_Pivot: {x: 0.5, y: 0} +--- !u!222 &2927099789590338236 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6780489862465879769} + m_CullTransparentMesh: 1 +--- !u!114 &6127068117546407553 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6780489862465879769} + 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: 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: f1b2f16b15a3c446cba1456f33b78a75, type: 3} + 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!114 &6131953240668864542 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6780489862465879769} + 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: 6127068117546407553} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &6952381659122796228 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7897357906257245294} + - component: {fileID: 4918635470499015692} + - component: {fileID: 6624652777011074829} + m_Layer: 0 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7897357906257245294 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6952381659122796228} + 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: 6782027232870486791} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4918635470499015692 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6952381659122796228} + m_CullTransparentMesh: 1 +--- !u!114 &6624652777011074829 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6952381659122796228} + 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: "\u200B" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, 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: 46 + m_fontSizeBase: 46 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 46 + m_fontSizeMax: 56 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + 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: 1 + 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!1 &6992933694576283240 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4147044675156059330} + - component: {fileID: 4958143647475874975} + - component: {fileID: 1652595739558701370} + m_Layer: 0 + m_Name: Placeholder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4147044675156059330 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6992933694576283240} + 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: 6782027232870486791} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4958143647475874975 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6992933694576283240} + m_CullTransparentMesh: 1 +--- !u!114 &1652595739558701370 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6992933694576283240} + 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: eventName/eventProperty1:value,eventProperty2:value + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 2150773298 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} + 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: 46 + m_fontSizeBase: 46 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 46 + m_fontSizeMax: 56 + m_fontStyle: 2 + m_HorizontalAlignment: 1 + 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: 1 + 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!1 &7582602983356146173 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3439667122281886067} + - component: {fileID: 3908907123509602338} + - component: {fileID: 4756411067535369136} + - component: {fileID: 1841117475296298045} + - component: {fileID: 9107878890726183636} + - component: {fileID: 5823057705810621780} + - component: {fileID: 8500252286463440719} + m_Layer: 0 + m_Name: InputField (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3439667122281886067 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + 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: 6782027232870486791} + m_Father: {fileID: 2576122954372755500} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 10, y: -105} + m_SizeDelta: {x: 1060, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!222 &3908907123509602338 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + m_CullTransparentMesh: 1 +--- !u!114 &4756411067535369136 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + 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: 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: f1b2f16b15a3c446cba1456f33b78a75, type: 3} + 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!114 &1841117475296298045 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, 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: 4756411067535369136} + m_TextViewport: {fileID: 6782027232870486791} + m_TextComponent: {fileID: 6624652777011074829} + m_Placeholder: {fileID: 1652595739558701370} + m_VerticalScrollbar: {fileID: 0} + m_VerticalScrollbarEventHandler: {fileID: 0} + m_LayoutGroup: {fileID: 0} + m_ScrollSensitivity: 1 + m_ContentType: 0 + m_InputType: 0 + m_AsteriskChar: 42 + m_KeyboardType: 0 + m_LineType: 1 + m_HideMobileInput: 0 + m_HideSoftKeyboard: 0 + m_CharacterValidation: 0 + m_RegexValue: + m_GlobalPointSize: 46 + m_CharacterLimit: 0 + m_OnEndEdit: + m_PersistentCalls: + m_Calls: [] + m_OnSubmit: + m_PersistentCalls: + m_Calls: [] + m_OnSelect: + m_PersistentCalls: + m_Calls: [] + m_OnDeselect: + m_PersistentCalls: + m_Calls: [] + m_OnTextSelection: + m_PersistentCalls: + m_Calls: [] + m_OnEndTextSelection: + m_PersistentCalls: + m_Calls: [] + m_OnValueChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 9107878890726183636} + m_TargetAssemblyTypeName: UnityEngine.UI.ContentSizeFitter, UnityEngine.UI + m_MethodName: SetLayoutVertical + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_OnTouchScreenKeyboardStatusChanged: + m_PersistentCalls: + m_Calls: [] + m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_CustomCaretColor: 0 + m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} + m_Text: + m_CaretBlinkRate: 0.85 + m_CaretWidth: 1 + m_ReadOnly: 0 + m_RichText: 1 + m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_OnFocusSelectAll: 1 + m_ResetOnDeActivation: 1 + m_RestoreOriginalTextOnEscape: 1 + m_isRichTextEditingAllowed: 0 + m_LineLimit: 0 + m_InputValidator: {fileID: 0} +--- !u!114 &9107878890726183636 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &5823057705810621780 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: 175 + m_FlexibleWidth: -1 + m_FlexibleHeight: 1 + m_LayoutPriority: 1 +--- !u!114 &8500252286463440719 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7582602983356146173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 988aeaad03f1c42908e69c1f2ef471f2, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/CTExample/Assets/Prefabs/InputPanel.prefab.meta b/CTExample/Assets/Prefabs/InputPanel.prefab.meta new file mode 100644 index 00000000..bb6d65ba --- /dev/null +++ b/CTExample/Assets/Prefabs/InputPanel.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 903a0dd8b1c354612a9b6a3cd7bd4065 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Prefabs/KeyValue.prefab b/CTExample/Assets/Prefabs/KeyValue.prefab new file mode 100644 index 00000000..88e89ee3 --- /dev/null +++ b/CTExample/Assets/Prefabs/KeyValue.prefab @@ -0,0 +1,738 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &151768838464048233 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6540330195149934414} + - component: {fileID: 5794798325428613375} + - component: {fileID: 3596216059471309887} + - component: {fileID: 5918984250161320675} + - component: {fileID: 1887849989940907076} + 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 &6540330195149934414 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151768838464048233} + 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: 8890729715882845870} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 159, y: -25.7} + m_SizeDelta: {x: 318, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5794798325428613375 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151768838464048233} + m_CullTransparentMesh: 1 +--- !u!114 &3596216059471309887 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151768838464048233} + 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: Key + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 46 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 32 + m_fontSizeMax: 46 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 512 + 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: 3 + 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!114 &5918984250161320675 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151768838464048233} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &1887849989940907076 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151768838464048233} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b9a510be3f6dc424699b6bf87183c623, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &875562227478106286 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8890729715882845870} + - component: {fileID: 8490146228729835895} + - component: {fileID: 5486524061457551916} + - component: {fileID: 5442946366692647214} + m_Layer: 5 + m_Name: 30 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8890729715882845870 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875562227478106286} + 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: 6540330195149934414} + m_Father: {fileID: 3212837525983489050} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 169, y: -45.7} + m_SizeDelta: {x: 318, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &8490146228729835895 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875562227478106286} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 0 + m_PreferredHeight: -1 + m_FlexibleWidth: 3 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &5486524061457551916 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875562227478106286} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &5442946366692647214 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875562227478106286} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &5542723524852513395 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9215946139152057367} + - component: {fileID: 7213941757806027868} + - component: {fileID: 1415624077769317062} + - component: {fileID: 4535668208646290930} + - component: {fileID: 8768406606093601146} + 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 &9215946139152057367 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5542723524852513395} + 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: 6512175381300174051} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 371, y: -237.28} + m_SizeDelta: {x: 742, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7213941757806027868 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5542723524852513395} + m_CullTransparentMesh: 1 +--- !u!114 &1415624077769317062 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5542723524852513395} + 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: "Value\nLorem ipsum dolor sit amet, consectetur adipiscing elit. \nAenean + laoreet ante at purus elementum, at condimentum felis dignissim. Vivamus eget + nibh neque. \nAenean elementum ex justo, et maximus erat tempus vel." + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 46 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 32 + m_fontSizeMax: 46 + m_fontStyle: 0 + m_HorizontalAlignment: 4 + m_VerticalAlignment: 512 + 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!114 &4535668208646290930 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5542723524852513395} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &8768406606093601146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5542723524852513395} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b9a510be3f6dc424699b6bf87183c623, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &5580407240979780436 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7930695524741836236} + - component: {fileID: 7422671896634858436} + - component: {fileID: 5099472432535410737} + - component: {fileID: 3557065455173828091} + - component: {fileID: 1400119389060841830} + - component: {fileID: 6124658609428597455} + m_Layer: 5 + m_Name: KeyValue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7930695524741836236 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + 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: 3212837525983489050} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 540, y: -164.08} + m_SizeDelta: {x: 1080, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7422671896634858436 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + m_CullTransparentMesh: 1 +--- !u!114 &5099472432535410737 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + 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: 0.48235294, g: 0.4745098, b: 0.4745098, 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: 21300000, guid: f1b2f16b15a3c446cba1456f33b78a75, type: 3} + 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!114 &3557065455173828091 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 936193b0e0c014b4a828249239e00d95, type: 3} + m_Name: + m_EditorClassIdentifier: + KeyText: {fileID: 3596216059471309887} + ValueText: {fileID: 1415624077769317062} +--- !u!114 &1400119389060841830 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &6124658609428597455 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5580407240979780436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &5656518813419345472 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6512175381300174051} + - component: {fileID: 3193477047179579176} + - component: {fileID: 5103169590215459401} + - component: {fileID: 9060162406019367140} + m_Layer: 5 + m_Name: 70 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6512175381300174051 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5656518813419345472} + 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: 9215946139152057367} + m_Father: {fileID: 3212837525983489050} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 699, y: -257.28} + m_SizeDelta: {x: 742, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &3193477047179579176 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5656518813419345472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 0 + m_PreferredHeight: -1 + m_FlexibleWidth: 7 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!114 &5103169590215459401 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5656518813419345472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &9060162406019367140 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5656518813419345472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &5999431028849027395 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3212837525983489050} + - component: {fileID: 6943597543776479956} + - component: {fileID: 8813341067691151086} + m_Layer: 5 + m_Name: Horizontal + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3212837525983489050 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5999431028849027395} + 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: 8890729715882845870} + - {fileID: 6512175381300174051} + m_Father: {fileID: 7930695524741836236} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 540, y: -20} + m_SizeDelta: {x: 1080, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &6943597543776479956 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5999431028849027395} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 10 + m_Right: 10 + m_Top: 20 + m_Bottom: 20 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &8813341067691151086 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5999431028849027395} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 diff --git a/CTExample/Assets/Prefabs/KeyValue.prefab.meta b/CTExample/Assets/Prefabs/KeyValue.prefab.meta new file mode 100644 index 00000000..6f1f2de9 --- /dev/null +++ b/CTExample/Assets/Prefabs/KeyValue.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c70b279591b864fc7b59cc04f0bd884d +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Resources.meta b/CTExample/Assets/Resources.meta new file mode 100644 index 00000000..ba9e67af --- /dev/null +++ b/CTExample/Assets/Resources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f01137ed01601454e9653c2bf1dcb930 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Resources/Toast.prefab b/CTExample/Assets/Resources/Toast.prefab new file mode 100644 index 00000000..87c865cb --- /dev/null +++ b/CTExample/Assets/Resources/Toast.prefab @@ -0,0 +1,659 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &793442665465029080 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6672788265154298126} + - component: {fileID: 2308874063556055298} + - component: {fileID: 6755852623301624877} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6672788265154298126 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 793442665465029080} + 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: 929023802982187127} + 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_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2308874063556055298 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 793442665465029080} + m_CullTransparentMesh: 1 +--- !u!114 &6755852623301624877 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 793442665465029080} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 0 + m_PreferredHeight: -1 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &2507234028048109350 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3770143213689214749} + - component: {fileID: 7284928056229944706} + - component: {fileID: 7548430430277662721} + - component: {fileID: 567291876189966656} + - component: {fileID: 3520819353443240763} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3770143213689214749 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2507234028048109350} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 929023802982187127} + m_Father: {fileID: 5913493201031968943} + 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_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!223 &7284928056229944706 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2507234028048109350} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: 32767 + m_TargetDisplay: 0 +--- !u!114 &7548430430277662721 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2507234028048109350} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0.5 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!114 &567291876189966656 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2507234028048109350} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!225 &3520819353443240763 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2507234028048109350} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 0 + m_BlocksRaycasts: 0 + m_IgnoreParentGroups: 0 +--- !u!1 &2797108226151955281 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5742953382304932766} + - component: {fileID: 6128297436399106383} + - component: {fileID: 5325547529044744946} + - component: {fileID: 5341849072598535271} + - component: {fileID: 6320416079561301153} + - component: {fileID: 3235902812207104760} + m_Layer: 5 + m_Name: Toast + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5742953382304932766 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + 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: 3485559053705635980} + m_Father: {fileID: 929023802982187127} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 235.43999, y: -689.3679} + m_SizeDelta: {x: 384.70398, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6128297436399106383 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + m_CullTransparentMesh: 1 +--- !u!114 &5325547529044744946 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + 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: 0.4745098, g: 0.4745098, b: 0.4745098, a: 0.9411765} + 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: 2b6825de473ce4548955cf473b6b60e0, type: 3} + 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!114 &5341849072598535271 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 20 + m_Right: 20 + m_Top: 10 + m_Bottom: 10 + m_ChildAlignment: 4 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &6320416079561301153 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &3235902812207104760 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2797108226151955281} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 0 + m_PreferredHeight: 60 + m_FlexibleWidth: 8 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &4616727669771024219 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4330991764967232530} + - component: {fileID: 258956915087954231} + - component: {fileID: 6751665083178358591} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4330991764967232530 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4616727669771024219} + 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: 929023802982187127} + 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_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &258956915087954231 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4616727669771024219} + m_CullTransparentMesh: 1 +--- !u!114 &6751665083178358591 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4616727669771024219} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: 0 + m_PreferredHeight: -1 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &5705426320148722710 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 929023802982187127} + - component: {fileID: 2762318791993129686} + - component: {fileID: 2263164397981753925} + m_Layer: 5 + m_Name: ContainerPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &929023802982187127 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5705426320148722710} + 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: 6672788265154298126} + - {fileID: 5742953382304932766} + - {fileID: 4330991764967232530} + m_Father: {fileID: 3770143213689214749} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: -300} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2762318791993129686 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5705426320148722710} + m_CullTransparentMesh: 1 +--- !u!114 &2263164397981753925 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5705426320148722710} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 7 + m_Spacing: 0 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &7578439831050535216 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5913493201031968943} + - component: {fileID: 3792412592733680973} + m_Layer: 5 + m_Name: Toast + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5913493201031968943 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7578439831050535216} + 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: + - {fileID: 3770143213689214749} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3792412592733680973 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7578439831050535216} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 11a4038b7be3e489da3bb7db77545d68, type: 3} + m_Name: + m_EditorClassIdentifier: + canvasGroup: {fileID: 3520819353443240763} + toastRectTransform: {fileID: 5742953382304932766} + containerLayoutGroup: {fileID: 2263164397981753925} + textUI: {fileID: 1184688295186874416} + fadeDuration: 0.3 +--- !u!1 &8293864589993028912 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3485559053705635980} + - component: {fileID: 5308944733180910899} + - component: {fileID: 1184688295186874416} + - component: {fileID: 7847625014829093300} + 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 &3485559053705635980 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8293864589993028912} + 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: 5742953382304932766} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 192.35199, y: -30} + m_SizeDelta: {x: 344.70398, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5308944733180910899 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8293864589993028912} + m_CullTransparentMesh: 1 +--- !u!114 &1184688295186874416 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8293864589993028912} + 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: Toast Message + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 26 + m_fontSizeBase: 26 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + 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!114 &7847625014829093300 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8293864589993028912} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 diff --git a/CTExample/Assets/Resources/Toast.prefab.meta b/CTExample/Assets/Resources/Toast.prefab.meta new file mode 100644 index 00000000..551f9753 --- /dev/null +++ b/CTExample/Assets/Resources/Toast.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 13eef90215e624ab1a155af01371c135 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTIntegrationTests/Assets/Scenes.meta b/CTExample/Assets/Scenes.meta similarity index 100% rename from CTIntegrationTests/Assets/Scenes.meta rename to CTExample/Assets/Scenes.meta diff --git a/CTIntegrationTests/Assets/Scenes/CleverTapExample.cs b/CTExample/Assets/Scenes/CleverTapExample.cs similarity index 100% rename from CTIntegrationTests/Assets/Scenes/CleverTapExample.cs rename to CTExample/Assets/Scenes/CleverTapExample.cs diff --git a/CTIntegrationTests/Assets/Scenes/CleverTapExample.cs.meta b/CTExample/Assets/Scenes/CleverTapExample.cs.meta similarity index 100% rename from CTIntegrationTests/Assets/Scenes/CleverTapExample.cs.meta rename to CTExample/Assets/Scenes/CleverTapExample.cs.meta diff --git a/CTExample/Assets/Scenes/MainScene.unity b/CTExample/Assets/Scenes/MainScene.unity new file mode 100644 index 00000000..fa664d9f --- /dev/null +++ b/CTExample/Assets/Scenes/MainScene.unity @@ -0,0 +1,3138 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 1058190385} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &71690554 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 71690555} + - component: {fileID: 71690556} + m_Layer: 5 + m_Name: ScrollView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &71690555 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 71690554} + 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: 1113539878} + m_Father: {fileID: 685338408} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 160} + m_SizeDelta: {x: 0, y: -320} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &71690556 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 71690554} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bca52053801124ad7bdd52ad3d730a16, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 1113539878} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1.5 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &82705931 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1777706786} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1001 &213166200 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 911624096} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: Ad Hoc Button + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: Ad Hoc + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &213166201 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 213166200} + m_PrefabAsset: {fileID: 0} +--- !u!1 &249646104 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 249646105} + - component: {fileID: 249646106} + m_Layer: 5 + m_Name: ScrollView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &249646105 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249646104} + 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: 1055782240} + m_Father: {fileID: 1260826556} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 160} + m_SizeDelta: {x: 0, y: -320} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &249646106 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 249646104} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bca52053801124ad7bdd52ad3d730a16, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 1055782240} + m_Horizontal: 1 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1.5 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!114 &352276158 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1732902319} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &368321247 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 368321248} + - component: {fileID: 368321249} + m_Layer: 5 + m_Name: ScrollView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &368321248 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 368321247} + 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: 2067366422} + m_Father: {fileID: 754847142} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 160} + m_SizeDelta: {x: 0, y: -320} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &368321249 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 368321247} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bca52053801124ad7bdd52ad3d730a16, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 2067366422} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1.5 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &418659297 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 132536, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + m_PrefabInstance: {fileID: 2044848181} + m_PrefabAsset: {fileID: 0} +--- !u!114 &471906646 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1434377010} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &519420028 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 519420032} + - component: {fileID: 519420031} + - component: {fileID: 519420029} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &519420029 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + m_Enabled: 1 +--- !u!20 &519420031 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 1 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 0 + m_HDR: 1 + m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 0 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &519420032 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &653028845 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 653028846} + - component: {fileID: 653028849} + - component: {fileID: 653028848} + - component: {fileID: 653028847} + - component: {fileID: 653028850} + m_Layer: 5 + m_Name: Options + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &653028846 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 653028845} + 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: 1434377011} + - {fileID: 2113070503} + - {fileID: 1512065758} + m_Father: {fileID: 1582064023} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 562.5, y: -350} + m_SizeDelta: {x: 1045, y: 400} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &653028847 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 653028845} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &653028848 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 653028845} + 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} + 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: 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 &653028849 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 653028845} + m_CullTransparentMesh: 0 +--- !u!114 &653028850 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 653028845} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!1 &656808531 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 656808534} + - component: {fileID: 656808533} + - component: {fileID: 656808532} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &656808532 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656808531} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SendPointerHoverToParent: 1 + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &656808533 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656808531} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &656808534 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656808531} + 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: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &683104178 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 683104179} + - component: {fileID: 683104183} + - component: {fileID: 683104182} + - component: {fileID: 683104181} + - component: {fileID: 683104180} + - component: {fileID: 683104184} + m_Layer: 5 + m_Name: Messages + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &683104179 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + 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: 1582064023} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 561.5, y: 0} + m_SizeDelta: {x: 1125, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &683104180 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4db38b6d044064618ac0376dd0804ec5, type: 3} + m_Name: + m_EditorClassIdentifier: + buttonPrefab: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + verticalLayoutGroup: {fileID: 683104181} +--- !u!114 &683104181 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &683104182 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + 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} + 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: 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 &683104183 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + m_CullTransparentMesh: 0 +--- !u!114 &683104184 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683104178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!1 &685338407 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 685338408} + - component: {fileID: 685338410} + m_Layer: 5 + m_Name: Variables + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &685338408 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 685338407} + 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: 71690555} + m_Father: {fileID: 1501710317} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &685338410 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 685338407} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 211468d6c68cc46f6899cbd4188e43af, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonPrefab: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + VerticalLayoutGroup: {fileID: 1113539880} + keyValuePrefab: {fileID: 5580407240979780436, guid: c70b279591b864fc7b59cc04f0bd884d, type: 3} +--- !u!1 &754847141 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 754847142} + - component: {fileID: 754847143} + m_Layer: 5 + m_Name: AdHoc + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &754847142 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 754847141} + 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: 368321248} + m_Father: {fileID: 1501710317} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0.04296875} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &754847143 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 754847141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: efcbafe033d9c46dfa44849e04bfdd9e, type: 3} + m_Name: + m_EditorClassIdentifier: + ContentView: {fileID: 2067366421} + KeyValuePrefab: {fileID: 5580407240979780436, guid: c70b279591b864fc7b59cc04f0bd884d, type: 3} + ButtonPrefab: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + InputPanelPrefab: {fileID: 681122156574054861, guid: 903a0dd8b1c354612a9b6a3cd7bd4065, type: 3} +--- !u!114 &786270578 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 213166200} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &905907880 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1412194355} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &911624095 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 911624096} + - component: {fileID: 911624097} + - component: {fileID: 911624098} + - component: {fileID: 911624100} + - component: {fileID: 911624099} + m_Layer: 5 + m_Name: Tabs + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &911624096 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911624095} + 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: 213166201} + - {fileID: 1732902320} + - {fileID: 1777706787} + - {fileID: 1412194356} + m_Father: {fileID: 1188845594} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 260} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &911624097 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911624095} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 30 + m_Right: 30 + m_Top: 0 + m_Bottom: 110 + m_ChildAlignment: 4 + m_Spacing: 30 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &911624098 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911624095} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 01fa03e7bd2f84a1aa8ac40adebb6d4b, type: 3} + m_Name: + m_EditorClassIdentifier: + SDK: {fileID: 905907880} + AppInbox: {fileID: 82705931} + Variables: {fileID: 352276158} + AdHoc: {fileID: 786270578} + panels: [] +--- !u!114 &911624099 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911624095} + 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: 0.14509805, g: 0.23529412, b: 0.3764706, a: 0.9607843} + 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: 0} + 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 &911624100 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 911624095} + m_CullTransparentMesh: 1 +--- !u!1 &1055782239 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1055782240} + - component: {fileID: 1055782242} + - component: {fileID: 1055782241} + - component: {fileID: 1055782244} + - component: {fileID: 1055782243} + m_Layer: 5 + m_Name: ContentView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1055782240 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055782239} + 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: 249646105} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 1124, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!114 &1055782241 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055782239} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &1055782242 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055782239} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 150 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &1055782243 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055782239} + 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} + 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: 0} + 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 &1055782244 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055782239} + m_CullTransparentMesh: 1 +--- !u!850595691 &1058190385 +LightingSettings: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Settings.lighting + serializedVersion: 6 + m_GIWorkflowMode: 1 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_RealtimeEnvironmentLighting: 1 + m_BounceScale: 1 + m_AlbedoBoost: 1 + m_IndirectOutputScale: 1 + m_UsingShadowmask: 1 + m_BakeBackend: 2 + m_LightmapMaxSize: 1024 + m_BakeResolution: 40 + m_Padding: 2 + m_LightmapCompression: 2 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAO: 0 + m_MixedBakeMode: 2 + m_LightmapsBakeMode: 1 + m_FilterMode: 1 + m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_RealtimeResolution: 2 + m_ForceWhiteAlbedo: 0 + m_ForceUpdates: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 256 + m_FinalGatherFiltering: 1 + m_PVRCulling: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_LightProbeSampleCountMultiplier: 4 + m_PVRBounces: 2 + m_PVRMinBounces: 2 + m_PVREnvironmentImportanceSampling: 0 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_PVRTiledBaking: 0 + m_NumRaysToShootPerTexel: -1 + m_RespectSceneVisibilityWhenBakingGI: 0 +--- !u!1 &1113539877 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1113539878} + - component: {fileID: 1113539880} + - component: {fileID: 1113539879} + - component: {fileID: 1113539882} + - component: {fileID: 1113539881} + m_Layer: 5 + m_Name: ContentView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1113539878 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1113539877} + 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: 71690555} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 1124, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!114 &1113539879 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1113539877} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &1113539880 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1113539877} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 150 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &1113539881 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1113539877} + 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} + 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: 0} + 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 &1113539882 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1113539877} + m_CullTransparentMesh: 1 +--- !u!1 &1174546664 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1174546666} + - component: {fileID: 1174546665} + m_Layer: 0 + m_Name: App + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1174546665 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1174546664} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: aa526deadf2de4c61aa7f1da96e597a0, type: 3} + m_Name: + m_EditorClassIdentifier: + accountName: ACCOUNT_NAME + accountId: ACCOUNT_ID + accountToken: ACCOUNT_TOKEN + accountRegion: +--- !u!4 &1174546666 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1174546664} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 450.5, y: 395, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1188845590 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1188845594} + - component: {fileID: 1188845593} + - component: {fileID: 1188845592} + - component: {fileID: 1188845591} + - component: {fileID: 1188845595} + - component: {fileID: 1188845596} + m_Layer: 5 + m_Name: Menus + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1188845591 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1188845592 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1080, y: 2436} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0.33 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!223 &1188845593 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &1188845594 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1501710317} + - {fileID: 911624096} + m_Father: {fileID: 0} + 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_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &1188845595 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2e66983dec9e419ca626ad157bcc374, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!225 &1188845596 +CanvasGroup: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1188845590} + m_Enabled: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 +--- !u!1 &1233580255 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1233580256} + - component: {fileID: 1233580257} + m_Layer: 5 + m_Name: QASDK + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1233580256 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1233580255} + 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: 1655101038} + m_Father: {fileID: 1501710317} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1233580257 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1233580255} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c37c7d80545fa4328a51c36752ce9312, type: 3} + m_Name: + m_EditorClassIdentifier: + optionsPanel: {fileID: 653028845} + messagesPanel: {fileID: 683104178} + pushPanel: {fileID: 1383650599} + messagesButton: {fileID: 471906646} + pushButton: {fileID: 1404080529} + consoleButton: {fileID: 1512065759} + console: {fileID: 418659297} +--- !u!1 &1260826555 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1260826556} + - component: {fileID: 1260826557} + m_Layer: 5 + m_Name: AppInbox + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1260826556 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260826555} + 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: 249646105} + m_Father: {fileID: 1501710317} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1260826557 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260826555} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4cb281c4e76594c6e967b76c3368a62e, type: 3} + m_Name: + m_EditorClassIdentifier: + buttonPrefab: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + verticalLayoutGroup: {fileID: 1055782242} +--- !u!1 &1383650599 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1383650600} + - component: {fileID: 1383650604} + - component: {fileID: 1383650603} + - component: {fileID: 1383650602} + - component: {fileID: 1383650601} + - component: {fileID: 1383650605} + m_Layer: 5 + m_Name: Push + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &1383650600 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + 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: 1582064023} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 562, y: 0} + m_SizeDelta: {x: 1125, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1383650601 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6b338913cc61e49db9b02fd6a68c62d0, type: 3} + m_Name: + m_EditorClassIdentifier: + buttonPrefab: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + verticalLayoutGroup: {fileID: 1383650602} +--- !u!114 &1383650602 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 20 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &1383650603 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + 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} + 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: 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 &1383650604 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + m_CullTransparentMesh: 0 +--- !u!114 &1383650605 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1383650599} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &1404080529 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 2113070502} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1001 &1412194355 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 911624096} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: More Button + objectReference: {fileID: 0} + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Interactable + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: More + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &1412194356 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1412194355} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1434377010 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 653028846} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: Messages + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: In-app Messages + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 965 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 522.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: -60 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &1434377011 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1434377010} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1501710316 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1501710317} + - component: {fileID: 1501710319} + - component: {fileID: 1501710318} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1501710317 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1501710316} + 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: 754847142} + - {fileID: 1233580256} + - {fileID: 1260826556} + - {fileID: 685338408} + m_Father: {fileID: 1188845594} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1501710318 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1501710316} + 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: 0, g: 0, b: 0, 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: 0} + 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 &1501710319 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1501710316} + m_CullTransparentMesh: 0 +--- !u!1001 &1512065757 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 653028846} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: Console + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: Show Console + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 965 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 522.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: -340 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &1512065758 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1512065757} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1512065759 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114125796543351124, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1512065757} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &1582064022 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1582064023} + - component: {fileID: 1582064027} + - component: {fileID: 1582064026} + - component: {fileID: 1582064025} + - component: {fileID: 1582064024} + m_Layer: 5 + m_Name: ContentView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1582064023 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582064022} + 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: 683104179} + - {fileID: 653028846} + - {fileID: 1383650600} + m_Father: {fileID: 1655101038} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0.5, y: 0} + m_SizeDelta: {x: 1125, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!114 &1582064024 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582064022} + 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} + 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: 0} + 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 &1582064025 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582064022} + m_CullTransparentMesh: 1 +--- !u!114 &1582064026 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582064022} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &1582064027 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1582064022} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 150 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 25 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &1655101037 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1655101038} + - component: {fileID: 1655101040} + - component: {fileID: 1655101039} + m_Layer: 5 + m_Name: ScrollView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1655101038 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1655101037} + 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: 1582064023} + m_Father: {fileID: 1233580256} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 160} + m_SizeDelta: {x: 0, y: -320} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1655101039 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1655101037} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bca52053801124ad7bdd52ad3d730a16, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 1582064023} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1.5 + m_Viewport: {fileID: 0} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 0 + m_VerticalScrollbarVisibility: 0 + m_HorizontalScrollbarSpacing: 0 + m_VerticalScrollbarSpacing: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!222 &1655101040 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1655101037} + m_CullTransparentMesh: 1 +--- !u!1001 &1732902319 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 911624096} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: Variables Button + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: Variables + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &1732902320 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1732902319} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1777706786 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 911624096} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: App Inbox Button + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: App Inbox + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &1777706787 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 1777706786} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2044848181 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 132536, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_Name + value: IngameDebugConsole + objectReference: {fileID: 0} + - target: {fileID: 132536, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 11452418, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: startMinimized + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 589.28564 + objectReference: {fileID: 0} + - target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 725.5714 + objectReference: {fileID: 0} + - target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 998.1428 + objectReference: {fileID: 0} + - target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 204.42856 + objectReference: {fileID: 0} + - target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 861.85706 + objectReference: {fileID: 0} + - target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 248.57141 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 396.85712 + objectReference: {fileID: 0} + - target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.x + value: 136.2857 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_SizeDelta.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.x + value: 68.14285 + objectReference: {fileID: 0} + - target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} + propertyPath: m_AnchoredPosition.y + value: -18 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3} +--- !u!1 &2067366421 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2067366422} + - component: {fileID: 2067366424} + - component: {fileID: 2067366423} + - component: {fileID: 2067366426} + - component: {fileID: 2067366425} + m_Layer: 5 + m_Name: ContentView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2067366422 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2067366421} + 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: 368321248} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0.5, y: 0} + m_SizeDelta: {x: 1125, y: 0} + m_Pivot: {x: 0.5, y: 1} +--- !u!114 &2067366423 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2067366421} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &2067366424 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2067366421} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 40 + m_Right: 40 + m_Top: 150 + m_Bottom: 0 + m_ChildAlignment: 1 + m_Spacing: 25 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!114 &2067366425 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2067366421} + 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} + 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: 0} + 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 &2067366426 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2067366421} + m_CullTransparentMesh: 1 +--- !u!1001 &2113070502 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 653028846} + m_Modifications: + - target: {fileID: 1225684961504094, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Name + value: Push + objectReference: {fileID: 0} + - target: {fileID: 114440545205759142, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Text + value: Push + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.x + value: 965 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_SizeDelta.y + value: 120 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.x + value: 522.5 + objectReference: {fileID: 0} + - target: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + propertyPath: m_AnchoredPosition.y + value: -200 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} +--- !u!224 &2113070503 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 224412516315191226, guid: 52731d94d62b5413e8e41c622d1de0f6, type: 3} + m_PrefabInstance: {fileID: 2113070502} + m_PrefabAsset: {fileID: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 519420032} + - {fileID: 1174546666} + - {fileID: 1188845594} + - {fileID: 656808534} + - {fileID: 2044848181} diff --git a/CTIntegrationTests/Assets/Scenes/SampleScene.unity.meta b/CTExample/Assets/Scenes/MainScene.unity.meta similarity index 100% rename from CTIntegrationTests/Assets/Scenes/SampleScene.unity.meta rename to CTExample/Assets/Scenes/MainScene.unity.meta diff --git a/CTExample/Assets/Scripts.meta b/CTExample/Assets/Scripts.meta new file mode 100644 index 00000000..d32bb2dd --- /dev/null +++ b/CTExample/Assets/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 38cdc8fbfc39a49d0a0d2a00fbdcba06 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc.meta b/CTExample/Assets/Scripts/AdHoc.meta new file mode 100644 index 00000000..f50a462e --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b8db4049056914d85ae00c09b7780f4f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/AdHoc.cs b/CTExample/Assets/Scripts/AdHoc/AdHoc.cs new file mode 100644 index 00000000..9cadef61 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/AdHoc.cs @@ -0,0 +1,177 @@ +using System; +using System.Collections.Generic; +using CleverTapSDK; +using CleverTapSDK.Constants; +using CleverTapSDK.Utilities; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class AdHoc : MonoBehaviour + { + [SerializeField] private GameObject ContentView; + [SerializeField] private GameObject KeyValuePrefab; + [SerializeField] private Button ButtonPrefab; + [SerializeField] private GameObject InputPanelPrefab; + + private GameObject CleverTapIDObject; + + void Start() + { + RectTransform parent = ContentView.GetComponent(); + + AddInfoValues(parent); + + GameObject recordEvent = Instantiate(InputPanelPrefab); + recordEvent.name = "RecordEvents"; + recordEvent.transform.SetParent(parent, false); + recordEvent.AddComponent(); + + GameObject profilePush = Instantiate(InputPanelPrefab); + profilePush.name = "PushProfile"; + profilePush.transform.SetParent(parent, false); + profilePush.AddComponent(); + + GameObject userLogin = Instantiate(InputPanelPrefab); + userLogin.name = "UserLogin"; + userLogin.transform.SetParent(parent, false); + userLogin.AddComponent(); + + Button recordEventsWithDates = Instantiate(ButtonPrefab); + recordEventsWithDates.name = "RecordEventsWithDates"; + recordEventsWithDates.transform.SetParent(parent, false); + recordEventsWithDates.GetComponentInChildren().text = "Record Events With Dates"; + recordEventsWithDates.onClick.AddListener(RecordEventsWithDates); + + Button DOB = Instantiate(ButtonPrefab); + DOB.name = "DOB"; + DOB.transform.SetParent(parent, false); + DOB.GetComponentInChildren().text = "Push DOB"; + DOB.onClick.AddListener(SetDOB); + + GameObject removeProp = Instantiate(InputPanelPrefab); + removeProp.name = "RemoveProperty"; + removeProp.transform.SetParent(parent, false); + removeProp.AddComponent(); + + GameObject multiProp = Instantiate(InputPanelPrefab); + multiProp.name = "MultiProperty"; + multiProp.transform.SetParent(parent, false); + multiProp.AddComponent(); + + GameObject incrementDecrement = Instantiate(InputPanelPrefab); + incrementDecrement.name = "Increment/Decrement Property"; + incrementDecrement.transform.SetParent(parent, false); + incrementDecrement.AddComponent(); + } + + private void AddInfoValues(RectTransform parent) + { + GameObject sdkVersion = Instantiate(KeyValuePrefab); + sdkVersion.name = "SDKVersion"; + KeyValue sdkVersionKV = sdkVersion.GetComponent(); + sdkVersionKV.SetKey("SDK Version"); + sdkVersionKV.SetValue(CleverTapVersion.CLEVERTAP_SDK_VERSION); + sdkVersion.transform.SetParent(parent, false); + + App app = FindObjectOfType(); + GameObject accountName = Instantiate(KeyValuePrefab); + accountName.name = "AccountName"; + KeyValue accountNameKV = accountName.GetComponent(); + accountNameKV.SetKey("Account Name"); + accountNameKV.SetValue(app.accountName); + accountNameKV.transform.SetParent(parent, false); + + GameObject accountId = Instantiate(KeyValuePrefab); + accountId.name = "AccountId"; + KeyValue accountIdKV = accountId.GetComponent(); + accountIdKV.SetKey("Account Id"); + accountIdKV.SetValue(app.accountId); + accountIdKV.transform.SetParent(parent, false); + + CleverTap.OnCleverTapProfileInitializedCallback += CleverTap_OnCleverTapProfileInitializedCallback; +#if UNITY_ANDROID + CleverTap.OnCleverTapInitCleverTapIdCallback += CleverTap_OnCleverTapInitCleverTapIdCallback; + CleverTap.GetCleverTapID(); +#endif + + CleverTapIDObject = Instantiate(KeyValuePrefab); + CleverTapIDObject.name = "CleverTapID"; + KeyValue ctidKV = CleverTapIDObject.GetComponent(); + ctidKV.SetKey("CleverTap ID"); + ctidKV.SetValue(CleverTap.ProfileGetCleverTapID()); + CleverTapIDObject.transform.SetParent(parent, false); + } + + + private void CleverTap_OnCleverTapProfileInitializedCallback(string message) + { + Logger.Log($"OnCleverTapProfileInitializedCallback: {message}"); + var messageJson = Json.Deserialize(message) as Dictionary; + SetKVValue(CleverTapIDObject, messageJson["CleverTapID"]?.ToString()); + } + +#if UNITY_ANDROID + private void CleverTap_OnCleverTapInitCleverTapIdCallback(string message) + { + Logger.Log($"OnCleverTapInitCleverTapIdCallback: {message}"); + var messageJson = Json.Deserialize(message) as Dictionary; + SetKVValue(CleverTapIDObject, messageJson["cleverTapID"]?.ToString()); + } +#endif + + private void SetKVValue(GameObject kvObject, string value) + { + if (kvObject == null) return; + KeyValue kv = kvObject.GetComponent(); + kv.SetValue(value); + } + + private void SetDOB() + { + int age = UnityEngine.Random.Range(20, 80); + DateTime date = DateTime.Now.AddYears(-age); + Logger.Log($"Setting DOB to: {date}"); + Toast.Show($"Setting DOB to: {date}"); + Dictionary profileProperties = new Dictionary + { + { "DOB", date } + }; + + CleverTap.ProfilePush(profileProperties); + } + + private void RecordEventsWithDates() + { + // Record Event with date + CleverTap.RecordEvent("Date Support Test", new Dictionary() { + { "Date", new DateTime(2000, 01, 01) }, + { "DateNow", DateTime.Now }, + { "DateUtcNow", DateTime.UtcNow } + }); + + // Record charged event with date + var chargeDetails = new Dictionary(){ + { "Amount", 500 }, + { "Currency", "USD" }, + { "Payment Mode", "Credit card" }, + { "Date", new DateTime(2024, 01, 25) } + }; + var items = new List> { + new Dictionary { + { "Price", 50 }, + { "Product category", "books" }, + { "Quantity", 1 } + }, + new Dictionary { + { "Price", 100 }, + { "Product category", "plants" }, + { "Quantity", 10 } + } + }; + CleverTap.RecordChargedEventWithDetailsAndItems(chargeDetails, items); + Toast.Show("Record \"Date Support Test\" event and Charged event with dates"); + } + } +} \ No newline at end of file diff --git a/CTIntegrationTests/Assets/Scenes/CleverTapTests.cs.meta b/CTExample/Assets/Scripts/AdHoc/AdHoc.cs.meta similarity index 83% rename from CTIntegrationTests/Assets/Scenes/CleverTapTests.cs.meta rename to CTExample/Assets/Scripts/AdHoc/AdHoc.cs.meta index 3319f25d..79b90447 100644 --- a/CTIntegrationTests/Assets/Scenes/CleverTapTests.cs.meta +++ b/CTExample/Assets/Scripts/AdHoc/AdHoc.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 2212005b4b1488c42a0a3f2015cc90df +guid: efcbafe033d9c46dfa44849e04bfdd9e MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs b/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs new file mode 100644 index 00000000..6e9ff38c --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs @@ -0,0 +1,66 @@ +using System; +using CleverTapSDK; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class IncrementDecrementProperty : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + + panel.AddAdditionalButton("Decrement", "Decrement", OnDecrementButtonClick); + } + + void Start() + { + panel.SetTitle("Increment/Decrement property"); + panel.SetPlaceholder("propertyName:value"); + panel.SetButtonText("Increment"); + + panel.OnButtonClickedEvent += OnIncrementButtonClick; + } + + private void OnDecrementButtonClick(string text) + { + string[] keyValue = text.Split(":", StringSplitOptions.RemoveEmptyEntries); + if (keyValue.Length == 2) + { + string key = keyValue[0]; + if (int.TryParse(keyValue[1], out int number)) + { + CleverTap.ProfileDecrementValueForKey(key, number); + Logger.Log($"Decrementing key: {key} with value: {number}"); + } + else if (double.TryParse(keyValue[1], out double d)) + { + CleverTap.ProfileDecrementValueForKey(key, d); + Logger.Log($"Decrementing key: {key} with value: {d}"); + } + } + } + + private void OnIncrementButtonClick(string text) + { + string[] keyValue = text.Split(":", StringSplitOptions.RemoveEmptyEntries); + if (keyValue.Length == 2) + { + string key = keyValue[0]; + if (int.TryParse(keyValue[1], out int number)) + { + CleverTap.ProfileIncrementValueForKey(key, number); + Logger.Log($"Icrementing key: {key} with value: {number}"); + } + else if (double.TryParse(keyValue[1], out double d)) + { + CleverTap.ProfileIncrementValueForKey(key, d); + Logger.Log($"Icrementing key: {key} with value: {d}"); + } + } + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs.meta b/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs.meta new file mode 100644 index 00000000..75f8d7c9 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/IncrementDecrementProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: af982e6756e0d4abeb4d889ac47e86ef +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs b/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs new file mode 100644 index 00000000..63717e2a --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using CleverTapSDK; +using CleverTapSDK.Utilities; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class MultiProperty : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + + panel.AddAdditionalButton("AddValues", "Add Values", OnAddValuesButtonClick); + } + + void Start() + { + panel.SetTitle("Multi Property"); + panel.SetPlaceholder("propName:value1,value2"); + panel.SetButtonText("Set multi property"); + + panel.OnButtonClickedEvent += OnSetValuesButtonClick; + } + + KeyValuePair> ProcessInput(string text) + { + string multiProps = text; + string[] keyValues = multiProps.Split(":", StringSplitOptions.RemoveEmptyEntries); + string key = keyValues[0]; + List values = keyValues[1].Split(",", StringSplitOptions.RemoveEmptyEntries).ToList(); + return new KeyValuePair>(key, values); + } + + void OnAddValuesButtonClick(string text) + { + var keyValues = ProcessInput(text); + CleverTap.ProfileAddMultiValuesForKey(keyValues.Key, keyValues.Value); + Logger.Log($"Add multi values for key: {keyValues.Key}, values: {Json.Serialize(keyValues.Value)}"); + } + + void OnSetValuesButtonClick(string text) + { + var keyValues = ProcessInput(text); + CleverTap.ProfileSetMultiValuesForKey(keyValues.Key, keyValues.Value); + Logger.Log($"Set multi values for key: {keyValues.Key}, values: {Json.Serialize(keyValues.Value)}"); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs.meta b/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs.meta new file mode 100644 index 00000000..912eece3 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/MultiProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6383d2096448944409ac57bf809abf5a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/PushProfile.cs b/CTExample/Assets/Scripts/AdHoc/PushProfile.cs new file mode 100644 index 00000000..e75fccb6 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/PushProfile.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using CleverTapSDK; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class PushProfile : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + } + + void Start() + { + panel.SetTitle("Push Profile"); + panel.SetPlaceholder("profileProperty1:value,profileProperty2:value"); + panel.SetButtonText("Push Profile"); + + panel.OnButtonClickedEvent += OnButtonClick; + } + + void OnButtonClick(string text) + { + if (string.IsNullOrWhiteSpace(text)) + { + return; + } + + string profileInput = text; + string[] pairs = profileInput.Split(",", StringSplitOptions.RemoveEmptyEntries); + Dictionary profileData = new Dictionary(); + foreach (var pair in pairs) + { + string[] keyValue = pair.Split(":", StringSplitOptions.RemoveEmptyEntries); + if (keyValue.Length == 2) + { + string key = keyValue[0]; + string stringValue = keyValue[1]; + object value = Utils.ParseValue(stringValue); + profileData.Add(key, value); + } + } + CleverTap.ProfilePush(profileData); + Logger.Log($"Profile push: {CleverTapSDK.Utilities.Json.Serialize(profileData)}"); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/PushProfile.cs.meta b/CTExample/Assets/Scripts/AdHoc/PushProfile.cs.meta new file mode 100644 index 00000000..c1242c8d --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/PushProfile.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5a3d23206bf4a4e2e84622b493698a64 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs b/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs new file mode 100644 index 00000000..de63f676 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs @@ -0,0 +1,67 @@ +using System.Collections.Generic; +using CleverTapSDK; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class RecordEvents : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + } + + void Start() + { + panel.SetTitle("Record Event"); + panel.SetPlaceholder("eventName/eventProperty1:value,eventProperty2:value"); + panel.SetButtonText("Record event"); + + panel.OnButtonClickedEvent += OnButtonClick; + } + + private void OnButtonClick(string text) + { + if (string.IsNullOrWhiteSpace(text)) + { + return; + } + + string eventInput = text; + string[] data = eventInput.Split("/", System.StringSplitOptions.RemoveEmptyEntries); + string eventName = data[0]; + + Dictionary eventProperties = new Dictionary(); + if (data.Length > 1) + { + string[] properties = data[1].Split(",", System.StringSplitOptions.RemoveEmptyEntries); + foreach (var pair in properties) + { + string[] keyValue = pair.Split(":", System.StringSplitOptions.RemoveEmptyEntries); + if (keyValue.Length == 2) + { + string key = keyValue[0]; + string stringValue = keyValue[1]; + object value = Utils.ParseValue(stringValue); + + eventProperties.Add(key, value); + } + } + } + + if (eventProperties.Count > 0) + { + CleverTap.RecordEvent(eventName, eventProperties); + Logger.Log($"Record event: {eventName} with properties: {CleverTapSDK.Utilities.Json.Serialize(eventProperties)}"); + } + else + { + CleverTap.RecordEvent(eventName); + Logger.Log($"Record event: {eventName}"); + } + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs.meta b/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs.meta new file mode 100644 index 00000000..97ba8e5a --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/RecordEvents.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4bec6a83d6b7d49ab9655787ce12fc5c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs b/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs new file mode 100644 index 00000000..0c832cdd --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs @@ -0,0 +1,31 @@ +using CleverTapSDK; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class RemoveProperty : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + } + + void Start() + { + panel.SetTitle("Remove Property"); + panel.SetPlaceholder("propertyName"); + panel.SetButtonText("Remove"); + + panel.OnButtonClickedEvent += OnButtonClick; + } + + void OnButtonClick(string text) + { + CleverTap.ProfileRemoveValueForKey(text); + Logger.Log($"Remove profile key: {text}"); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs.meta b/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs.meta new file mode 100644 index 00000000..683d5e7b --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/RemoveProperty.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 56c95223384954666a79d0d6b5ceeaef +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AdHoc/UserLogin.cs b/CTExample/Assets/Scripts/AdHoc/UserLogin.cs new file mode 100644 index 00000000..9a8cac1b --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/UserLogin.cs @@ -0,0 +1,37 @@ +using System.Collections.Generic; +using CleverTapSDK; +using UnityEngine; + +namespace CTExample +{ + [RequireComponent(typeof(InputPanel))] + public class UserLogin : MonoBehaviour + { + private InputPanel panel; + + private void Awake() + { + panel = GetComponent(); + } + + void Start() + { + panel.SetTitle("User Login"); + panel.SetPlaceholder("Identity"); + panel.SetButtonText("On User Login"); + + panel.OnButtonClickedEvent += OnButtonClick; + } + + void OnButtonClick(string text) + { + string id = text; + Dictionary login = new Dictionary + { + { "Identity", id } + }; + CleverTap.OnUserLogin(login); + Logger.Log($"User login: {id}"); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AdHoc/UserLogin.cs.meta b/CTExample/Assets/Scripts/AdHoc/UserLogin.cs.meta new file mode 100644 index 00000000..c1ee0c29 --- /dev/null +++ b/CTExample/Assets/Scripts/AdHoc/UserLogin.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d04fb950d4ad64526a9f60c5604b886d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/App.cs b/CTExample/Assets/Scripts/App.cs new file mode 100644 index 00000000..5b3547cb --- /dev/null +++ b/CTExample/Assets/Scripts/App.cs @@ -0,0 +1,48 @@ +using CleverTapSDK; +using CleverTapSDK.Utilities; +using UnityEngine; + +namespace CTExample +{ + public class App : MonoBehaviour + { + public string accountName = "ACCOUNT_NAME"; + public string accountId = "ACCOUNT_ID"; + [SerializeField] private string accountToken = "ACCOUNT_TOKEN"; + [SerializeField] private string accountRegion = ""; + + void Awake() + { +#if (UNITY_IOS || UNITY_ANDROID) && !UNITY_EDITOR + Logger.Log($"Setting targetFrameRate to: {(int)Screen.currentResolution.refreshRateRatio.value}"); + Application.targetFrameRate = (int)Screen.currentResolution.refreshRateRatio.value; +#endif + + // Unity internal Logs + CleverTap.SetLogLevel(LogLevel.Debug); + // SDK logs + CleverTap.SetDebugLevel(3); + // Launch CleverTap + if (!string.IsNullOrEmpty(accountRegion)) + { + CleverTap.LaunchWithCredentialsForRegion(accountId, accountToken, accountRegion); + } + else + { +#if UNITY_WEBGL && !UNITY_EDITOR + Logger.LogError("Account region is required for WebGL builds. Ensure your app is also enabled for WebGL."); + return; +#endif + CleverTap.LaunchWithCredentials(accountId, accountToken); + } + Logger.Log($"Launching \"{accountName}\" with accountId: {accountId}, accountToken: {accountToken}, accountRegion: {accountRegion}."); + +#if UNITY_ANDROID + if (!CleverTap.IsPushPermissionGranted()) + { + CleverTap.PromptForPushPermission(true); + } +#endif + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/App.cs.meta b/CTExample/Assets/Scripts/App.cs.meta new file mode 100644 index 00000000..89774aa4 --- /dev/null +++ b/CTExample/Assets/Scripts/App.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aa526deadf2de4c61aa7f1da96e597a0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AppInbox.meta b/CTExample/Assets/Scripts/AppInbox.meta new file mode 100644 index 00000000..f2362e43 --- /dev/null +++ b/CTExample/Assets/Scripts/AppInbox.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d2a29fa1c36fb416da37e4a21c18765c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/AppInbox/AppInbox.cs b/CTExample/Assets/Scripts/AppInbox/AppInbox.cs new file mode 100644 index 00000000..b34c1e74 --- /dev/null +++ b/CTExample/Assets/Scripts/AppInbox/AppInbox.cs @@ -0,0 +1,94 @@ +using System.Collections.Generic; +using CleverTapSDK; +using CleverTapSDK.Utilities; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class AppInbox : MonoBehaviour + { + public Button buttonPrefab; + public VerticalLayoutGroup verticalLayoutGroup; + + private bool hasInboxInitialized = false; + private bool shouldShowInbox = false; + + void Start() + { + CleverTap.OnCleverTapInboxDidInitializeCallback += CleverTap_OnCleverTapInboxDidInitializeCallback; + CreateButtonActions(); + } + + private void CreateButtonActions() + { + var models = new List + { + new ButtonActionModel("Initialize", (button) => CleverTap.InitializeInbox()), + new ButtonActionModel("Show Inbox", (button) => ShowInbox()) + }; + + var parent = verticalLayoutGroup.GetComponent(); + + foreach (var model in models) + { + var button = Instantiate(buttonPrefab); + button.name = model.Name; + button.transform.SetParent(parent, false); + button.GetComponentInChildren().text = model.Name; + if (!string.IsNullOrEmpty(model.Tag)) + { + button.gameObject.tag = model.Tag; + } + button.onClick.AddListener(() => + { + model.Action.Invoke(button); + }); + } + } + + private void ShowInbox() + { + if (!hasInboxInitialized) + { + Logger.LogWarning("Inbox not initialized."); + shouldShowInbox = true; + return; + } + + Dictionary styleConfig = new Dictionary + { + { "navBarTitle", "My App Inbox" }, + { "navBarTitleColor", "#FF0000" }, + { "navBarColor", "#FFFFFF" }, + { "inboxBackgroundColor", "#AED6F1" }, + { "backButtonColor", "#00FF00" }, + { "unselectedTabColor", "#0000FF" }, + { "selectedTabColor", "#FF0000" }, + { "noMessageText", "No message(s)" }, + { "noMessageTextColor", "#FF0000" } + }; + + // Convert the Dictionary parameters to a string and pass it to `ShowAppInbox()` + string jsonStr = Json.Serialize(styleConfig); + CleverTap.ShowAppInbox(jsonStr); + Logger.Log($"Showing app inbox with config: {jsonStr}"); + } + + private void CleverTap_OnCleverTapInboxDidInitializeCallback() + { + hasInboxInitialized = true; + if (shouldShowInbox) + { + ShowInbox(); + shouldShowInbox = false; + } + Toast.Show("On CleverTap Inbox Initialize"); + } + + public void Restore() + { + + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/AppInbox/AppInbox.cs.meta b/CTExample/Assets/Scripts/AppInbox/AppInbox.cs.meta new file mode 100644 index 00000000..c6f359bb --- /dev/null +++ b/CTExample/Assets/Scripts/AppInbox/AppInbox.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4cb281c4e76594c6e967b76c3368a62e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Logger.cs b/CTExample/Assets/Scripts/Logger.cs new file mode 100644 index 00000000..f738d57b --- /dev/null +++ b/CTExample/Assets/Scripts/Logger.cs @@ -0,0 +1,45 @@ +using UnityEngine; + +namespace CTExample +{ + internal enum LoggerLevel + { + Off, + Error, + Debug, + } + + internal static class Logger + { + private static LoggerLevel Level = LoggerLevel.Debug; + + internal static void SetLogLevel(LoggerLevel level) + { + Level = level; + } + + internal static void Log(string message) + { + if (Level >= LoggerLevel.Debug) + { + Debug.Log($"[CTExample]: {message}"); + } + } + + internal static void LogWarning(string message) + { + if (Level >= LoggerLevel.Error) + { + Debug.LogWarning($"[CTExample][Warning]: {message}"); + } + } + + internal static void LogError(string message) + { + if (Level >= LoggerLevel.Error) + { + Debug.LogError($"[CTExample][Error]: {message}"); + } + } + } +} diff --git a/CTExample/Assets/Scripts/Logger.cs.meta b/CTExample/Assets/Scripts/Logger.cs.meta new file mode 100644 index 00000000..bd4444a4 --- /dev/null +++ b/CTExample/Assets/Scripts/Logger.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 32c597d50b9cf4f00a1f958b9d3b6fa8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/NavigationMenu.cs b/CTExample/Assets/Scripts/NavigationMenu.cs new file mode 100644 index 00000000..6022bdbc --- /dev/null +++ b/CTExample/Assets/Scripts/NavigationMenu.cs @@ -0,0 +1,91 @@ +using System.Collections.Generic; +using System.Linq; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class NavigationMenu : MonoBehaviour + { + public Button SDK; + public Button AppInbox; + public Button Variables; + public Button AdHoc; + + public List panels = new List(); + + private void Awake() + { +#if !(UNITY_IOS || UNITY_ANDROID) || UNITY_EDITOR + AppInbox.interactable = false; + Variables.interactable = false; +#endif + } + + void Start() + { + SDK.onClick.AddListener(DidTapSDKButton); + AppInbox.onClick.AddListener(DidTapAppInboxButton); + Variables.onClick.AddListener(DidTapVariablesButton); + AdHoc.onClick.AddListener(DidTapAdHocButton); + + panels.Add(GameObject.Find("AdHoc")); + panels.Add(GameObject.Find("Variables")); + panels.Add(GameObject.Find("AppInbox")); + panels.Add(GameObject.Find("QASDK")); + + DidTapAdHocButton(); + } + + public void DidTapSDKButton() + { + var sdkPanel = FindPanel("QASDK"); + Enable(sdkPanel); + sdkPanel.GetComponent().Restore(); + } + + public void DidTapAppInboxButton() + { + var appInboxPanel = FindPanel("AppInbox"); + Enable(appInboxPanel); + appInboxPanel.GetComponent().Restore(); + } + + public void DidTapVariablesButton() + { + var variables = FindPanel("Variables"); + Enable(variables); + variables.GetComponent().Restore(); + } + + public void DidTapAdHocButton() + { + var adHoc = FindPanel("AdHoc"); + Enable(adHoc); + } + + void Enable(GameObject panel) + { + var currentPanels = panels.Where(p => p != null); + foreach (var p in currentPanels) + { + if (p == panel) + { + p.SetActive(true); + } + else + { + p.SetActive(false); + } + } + } + + GameObject FindPanel(string name) + { + return panels.Find((first) => + { + return first.name == name; + }); + } + } +} diff --git a/CTExample/Assets/Scripts/NavigationMenu.cs.meta b/CTExample/Assets/Scripts/NavigationMenu.cs.meta new file mode 100644 index 00000000..0e323aed --- /dev/null +++ b/CTExample/Assets/Scripts/NavigationMenu.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 01fa03e7bd2f84a1aa8ac40adebb6d4b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Prefabs.meta b/CTExample/Assets/Scripts/Prefabs.meta new file mode 100644 index 00000000..ff646d45 --- /dev/null +++ b/CTExample/Assets/Scripts/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 892f89dc039aa4bd48cf69e77423ea1f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Prefabs/InputPanel.cs b/CTExample/Assets/Scripts/Prefabs/InputPanel.cs new file mode 100644 index 00000000..6d013463 --- /dev/null +++ b/CTExample/Assets/Scripts/Prefabs/InputPanel.cs @@ -0,0 +1,68 @@ +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class InputPanel : MonoBehaviour + { + [SerializeField] private TMP_Text title; + [SerializeField] private TMP_InputField textInput; + [SerializeField] private TMP_Text placeholder; + [SerializeField] private Button button; + + public delegate void OnButtonClicked(string text); + public event OnButtonClicked OnButtonClickedEvent; + + private bool refreshedContentFitter = false; + + public void SetTitle(string text) + { + title.SetText(text); + } + + public void SetPlaceholder(string text) + { + placeholder.SetText(text); + } + + public void SetButtonText(string text) + { + var buttonText = button.GetComponentInChildren(); + buttonText.SetText(text); + } + + public void AddAdditionalButton(string name, string text, OnButtonClicked onButtonClicked) + { + VerticalLayoutGroup layout = GetComponent(); + + Button newButton = Instantiate(button); + newButton.name = name; + newButton.GetComponentInChildren().text = text; + newButton.onClick.AddListener(() => + { + onButtonClicked?.Invoke(textInput.text); + }); + newButton.transform.SetParent(layout.transform, false); + + // Button was added after Start, refresh the content to fit the additional button + if (refreshedContentFitter) + { + RefreshContentHelper.RefreshContentFitters((RectTransform)transform); + } + } + + // Start is called before the first frame update + void Start() + { + RefreshContentHelper.RefreshContentFitters((RectTransform)transform); + refreshedContentFitter = true; + button.onClick.AddListener(ButtonClick); + } + + void ButtonClick() + { + OnButtonClickedEvent?.Invoke(textInput.text); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Prefabs/InputPanel.cs.meta b/CTExample/Assets/Scripts/Prefabs/InputPanel.cs.meta new file mode 100644 index 00000000..7128c689 --- /dev/null +++ b/CTExample/Assets/Scripts/Prefabs/InputPanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 34ffaba75e99843d7ae4265152f4626c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Prefabs/KeyValue.cs b/CTExample/Assets/Scripts/Prefabs/KeyValue.cs new file mode 100644 index 00000000..666f9c11 --- /dev/null +++ b/CTExample/Assets/Scripts/Prefabs/KeyValue.cs @@ -0,0 +1,56 @@ +using TMPro; +using UnityEngine; + +namespace CTExample +{ + public class KeyValue : MonoBehaviour + { + [SerializeField] private TMP_Text KeyText; + [SerializeField] private TMP_Text ValueText; + + void Start() + { + KeyText.GetComponent().OnTextClickedEvent += KeyValue_OnTextClickedEvent; + ValueText.GetComponent().OnTextClickedEvent += KeyValue_OnTextClickedEvent; + + RefreshContentHelper.RefreshContentFitters((RectTransform)transform); + } + + public string GetKey() + { + return KeyText.text; + } + + public void SetKey(string text) + { + if (text != KeyText.text) + { + KeyText.SetText(text); + } + } + + public string GetValue() + { + return ValueText.text; + } + + public void SetValue(string text) + { + if (text != ValueText.text) + { + ValueText.SetText(text); + } + } + + private void KeyValue_OnTextClickedEvent(string text) + { + TextEditor te = new TextEditor(); + te.text = text; + te.SelectAll(); + te.Copy(); + + Logger.Log($"Copied: {text}"); + Toast.Show($"Copied: {text}"); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Prefabs/KeyValue.cs.meta b/CTExample/Assets/Scripts/Prefabs/KeyValue.cs.meta new file mode 100644 index 00000000..d93f3605 --- /dev/null +++ b/CTExample/Assets/Scripts/Prefabs/KeyValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 936193b0e0c014b4a828249239e00d95 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/QA SDK.meta b/CTExample/Assets/Scripts/QA SDK.meta new file mode 100644 index 00000000..09f8952e --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 890325c23f2ed4548a41864e5d2b06ae +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs b/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs new file mode 100644 index 00000000..29a308a7 --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs @@ -0,0 +1,46 @@ +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class MessagesMenu : MonoBehaviour + { + public Button buttonPrefab; + public VerticalLayoutGroup verticalLayoutGroup; + + // Use this for initialization + void Start() + { + var messages = new List(new string[] { + "Cover", + "Interstitial", + "Half Interstitial", + "Header", + "Footer", + "Alert", + "Cover Image", + "Interstitial Image", + "Half Interstitial Image", + "Custom HTML" + }); + + var parent = verticalLayoutGroup.GetComponent(); + + foreach (var message in messages) + { + var button = Instantiate(buttonPrefab); + button.name = message; + button.transform.SetParent(parent, false); + button.GetComponentInChildren().text = message; + button.onClick.AddListener(() => + { + CleverTapSDK.CleverTap.RecordEvent(button.name); + Toast.Show($"Recording event: {button.name}"); + }); + } + + RefreshContentHelper.RefreshContentFitters(parent); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs.meta b/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs.meta new file mode 100644 index 00000000..a765f988 --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/MessagesMenu.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4db38b6d044064618ac0376dd0804ec5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/QA SDK/PushMenu.cs b/CTExample/Assets/Scripts/QA SDK/PushMenu.cs new file mode 100644 index 00000000..b51e8cd3 --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/PushMenu.cs @@ -0,0 +1,55 @@ +using System.Collections.Generic; +using CleverTapSDK; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class PushMenu : MonoBehaviour + { + public Button buttonPrefab; + public VerticalLayoutGroup verticalLayoutGroup; + + void Start() + { + var pushEvents = new List(new string[] { + "BasicTemplate_NotificationSent", + "CarouselTemplate_NotificationSent", + "TimerTemplate_NotificationSent", + "CutomBasicTemplate_NotificationSent", + "CustomAutoCarouselTemplate_NotificationSent", + }); + + var parent = verticalLayoutGroup.GetComponent(); + + AddRegisterForIOSPushButton(parent); + + foreach (var e in pushEvents) + { + var button = Instantiate(buttonPrefab); + button.name = e; + button.transform.SetParent(parent, false); + button.GetComponentInChildren().text = e; + button.onClick.AddListener(() => + { + CleverTap.RecordEvent(button.name); + Toast.Show($"Recording event: {button.name}"); + }); + } + + RefreshContentHelper.RefreshContentFitters(parent); + } + + void AddRegisterForIOSPushButton(Transform parent) + { + var button = Instantiate(buttonPrefab); + button.name = "Prompt For Push Permission"; + button.transform.SetParent(parent, false); + button.GetComponentInChildren().text = "Prompt For Push Permission"; + button.onClick.AddListener(() => + { + CleverTap.PromptForPushPermission(true); + }); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/QA SDK/PushMenu.cs.meta b/CTExample/Assets/Scripts/QA SDK/PushMenu.cs.meta new file mode 100644 index 00000000..66633416 --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/PushMenu.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6b338913cc61e49db9b02fd6a68c62d0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs b/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs new file mode 100644 index 00000000..3d619a5b --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs @@ -0,0 +1,59 @@ +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class SDKPanel : MonoBehaviour + { + public GameObject optionsPanel; + + public GameObject messagesPanel; + public GameObject pushPanel; + + public Button messagesButton; + public Button pushButton; + + public Button consoleButton; + public GameObject console; + + void Start() + { +#if !(UNITY_IOS || UNITY_ANDROID) || UNITY_EDITOR + messagesButton.interactable = false; + pushButton.interactable = false; +#endif + messagesButton.onClick.AddListener(DidTapMessages); + pushButton.onClick.AddListener(DidTapPush); + consoleButton.onClick.AddListener(DidTapConsole); + + Restore(); + RefreshContentHelper.RefreshContentFitters((RectTransform)transform); + } + + public void Restore() + { + optionsPanel.SetActive(true); + messagesPanel.SetActive(false); + pushPanel.SetActive(false); + } + + public void DidTapMessages() + { + optionsPanel.SetActive(false); + messagesPanel.SetActive(true); + } + + public void DidTapPush() + { + optionsPanel.SetActive(false); + pushPanel.SetActive(true); + } + + public void DidTapConsole() + { + console.SetActive(!console.activeInHierarchy); + var text = consoleButton.GetComponentInChildren(); + text.text = console.activeInHierarchy ? "Hide Console" : "Show Console"; + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs.meta b/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs.meta new file mode 100644 index 00000000..6049942d --- /dev/null +++ b/CTExample/Assets/Scripts/QA SDK/SDKPanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c37c7d80545fa4328a51c36752ce9312 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Toast.meta b/CTExample/Assets/Scripts/Toast.meta new file mode 100644 index 00000000..c6c11289 --- /dev/null +++ b/CTExample/Assets/Scripts/Toast.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dff11f734e2fd4851910cb09e9c1dcfa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Toast/Toast.cs b/CTExample/Assets/Scripts/Toast/Toast.cs new file mode 100644 index 00000000..1baf5894 --- /dev/null +++ b/CTExample/Assets/Scripts/Toast/Toast.cs @@ -0,0 +1,81 @@ +using UnityEngine; + +namespace CTExample +{ + public enum ToastPosition + { + TopCenter = 1, + MiddleCenter = 4, + BottomCenter = 7, + } + + public static class Toast + { + public static bool isLoaded = false; + + private static ToastUI toastUI; + + private static void Prepare() + { + if (!isLoaded) + { + GameObject instance = MonoBehaviour.Instantiate(Resources.Load("Toast")); + instance.name = "Toast"; + toastUI = instance.GetComponent(); + isLoaded = true; + } + } + + private static void Show(ToastModel toast) + { + Prepare(); + toastUI.Show(toast); + } + + public static void Show(string text) + { + ToastModel toast = new ToastModel + { + Text = text + }; + Show(toast); + } + + public static void Show(string text, float duration) + { + ToastModel toast = new ToastModel + { + Text = text, + Duration = duration + }; + Show(toast); + } + + public static void Show(string text, ToastPosition position) + { + ToastModel toast = new ToastModel + { + Text = text, + Position = position + }; + Show(toast); + } + + public static void Show(string text, float duration, ToastPosition position) + { + ToastModel toast = new ToastModel + { + Text = text, + Duration = duration, + Position = position + }; + Show(toast); + } + + public static void Dismiss() + { + if (isLoaded) + toastUI.Dismiss(); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Toast/Toast.cs.meta b/CTExample/Assets/Scripts/Toast/Toast.cs.meta new file mode 100644 index 00000000..ddfb6e75 --- /dev/null +++ b/CTExample/Assets/Scripts/Toast/Toast.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5e263a6717d9246a19bd6e4dc732a2a5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Toast/ToastUI.cs b/CTExample/Assets/Scripts/Toast/ToastUI.cs new file mode 100644 index 00000000..1001d16b --- /dev/null +++ b/CTExample/Assets/Scripts/Toast/ToastUI.cs @@ -0,0 +1,134 @@ +using System.Collections; +using System.Collections.Generic; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + internal class ToastModel + { + internal ToastModel() + { + } + + internal ToastModel(string text, float duration, ToastPosition position) : base() + { + Text = text; + Duration = duration; + Position = position; + } + + internal string Text { get; set; } = string.Empty; + internal float Duration { get; set; } = 3F; + internal ToastPosition Position { get; set; } = ToastPosition.BottomCenter; + } + + internal class ToastUI : MonoBehaviour + { + [SerializeField] private CanvasGroup canvasGroup; + [SerializeField] private RectTransform toastRectTransform; + [SerializeField] private HorizontalLayoutGroup containerLayoutGroup; + [SerializeField] private TMP_Text textUI; + [Range(.1f, .8f)][SerializeField] private float fadeDuration = .4f; + + private readonly int maxTextLength = 200; + + private bool toastIsShowing = false; + private readonly Queue queue = new Queue(); + + void Awake() + { + canvasGroup.alpha = 0f; + } + + public void Show(ToastModel toastModel) + { + if (toastIsShowing) + { + queue.Enqueue(toastModel); + return; + } + string text = toastModel.Text; + textUI.text = (text.Length > maxTextLength) ? text[..(maxTextLength - 3)] + "..." : text; + + containerLayoutGroup.childAlignment = (TextAnchor)(int)toastModel.Position; + + toastIsShowing = true; + StartCoroutine(FadeInOut(toastModel.Duration, fadeDuration)); + } + + public void Dismiss() + { + Stop(); + ShowNext(); + } + + public void DismissAll() + { + Stop(); + queue.Clear(); + } + + private void Stop() + { + StopAllCoroutines(); + canvasGroup.alpha = 0f; + toastIsShowing = false; + } + + private IEnumerator FadeInOut(float toastDuration, float fadeDuration) + { + yield return null; + containerLayoutGroup.CalculateLayoutInputHorizontal(); + containerLayoutGroup.CalculateLayoutInputVertical(); + containerLayoutGroup.SetLayoutHorizontal(); + containerLayoutGroup.SetLayoutVertical(); + yield return null; + + RefreshContentHelper.RefreshContentFitters(toastRectTransform); + yield return null; + + // Fade In + yield return Fade(canvasGroup, 0f, 1f, fadeDuration); + yield return new WaitForSeconds(toastDuration); + // Fade Out + yield return Fade(canvasGroup, 1f, 0f, fadeDuration); + // Animation end + toastIsShowing = false; + ShowNext(); + } + + private IEnumerator Fade(CanvasGroup cGroup, float startAlpha, float endAlpha, float fadeDuration) + { + float startTime = Time.time; + float alpha = startAlpha; + + if (fadeDuration > 0f) + { + while (alpha != endAlpha) + { + alpha = Mathf.Lerp(startAlpha, endAlpha, (Time.time - startTime) / fadeDuration); + cGroup.alpha = alpha; + + yield return null; + } + } + + cGroup.alpha = endAlpha; + } + + private void ShowNext() + { + if (queue.TryDequeue(out ToastModel toast)) + { + Show(toast); + } + } + + private void OnDestroy() + { + Toast.isLoaded = false; + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Toast/ToastUI.cs.meta b/CTExample/Assets/Scripts/Toast/ToastUI.cs.meta new file mode 100644 index 00000000..0c30960e --- /dev/null +++ b/CTExample/Assets/Scripts/Toast/ToastUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 11a4038b7be3e489da3bb7db77545d68 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities.meta b/CTExample/Assets/Scripts/Utilities.meta new file mode 100644 index 00000000..9122ae66 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dbc37947294e64a0397af8f587c30c59 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs b/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs new file mode 100644 index 00000000..aa65e70e --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs @@ -0,0 +1,24 @@ +using UnityEngine.UI; + +namespace CTExample +{ + internal delegate void ButtonAction(Button button); + + internal class ButtonActionModel + { + internal string Name { get; set; } + internal string Tag { get; set; } + internal ButtonAction Action { get; set; } + + internal ButtonActionModel(string name, ButtonAction action) : this(name, null, action) + { + } + + internal ButtonActionModel(string name, string tag, ButtonAction action) + { + Name = name; + Tag = tag; + Action = action; + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs.meta b/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs.meta new file mode 100644 index 00000000..682934dc --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ButtonActionModel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d8469220b121249cebeb5b829cc35e4e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs b/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs new file mode 100644 index 00000000..7c71217f --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs @@ -0,0 +1,171 @@ +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.Events; + +namespace CTExample +{ + [RequireComponent(typeof(Canvas))] + public class CanvasHelper : MonoBehaviour + { + public static UnityEvent onOrientationChange = new UnityEvent(); + public static UnityEvent onResolutionChange = new UnityEvent(); + public static bool isLandscape { get; private set; } + + private static List helpers = new List(); + + private static bool screenChangeVarsInitialized = false; + private static ScreenOrientation lastOrientation = ScreenOrientation.Portrait; + private static Vector2 lastResolution = Vector2.zero; + private static Vector2 lastSafeArea = Vector2.zero; + + private Canvas canvas; + private RectTransform rectTransform; + + private RectTransform safeAreaTransform; + + void Awake() + { + if (!helpers.Contains(this)) + helpers.Add(this); + + canvas = GetComponent(); + rectTransform = GetComponent(); + + safeAreaTransform = transform.Find("SafeArea") as RectTransform; + + if (!screenChangeVarsInitialized) + { + lastOrientation = Screen.orientation; + lastResolution.x = Screen.width; + lastResolution.y = Screen.height; + lastSafeArea = Screen.safeArea.size; + + screenChangeVarsInitialized = true; + } + } + + void Start() + { + ApplySafeArea(); + } + + void Update() + { + if (helpers[0] != this) + return; + + if (Application.isMobilePlatform) + { + if (Screen.orientation != lastOrientation) + OrientationChanged(); + + if (Screen.safeArea.size != lastSafeArea) + SafeAreaChanged(); + } + else + { + // Resolution of mobile devices should stay the same always, + // so this check should only happen everywhere else + if (Screen.width != lastResolution.x || Screen.height != lastResolution.y) + ResolutionChanged(); + } + } + + void ApplySafeArea() + { + if (safeAreaTransform == null) + return; + + var safeArea = Screen.safeArea; + + var anchorMin = safeArea.position; + var anchorMax = safeArea.position + safeArea.size; + anchorMin.x /= canvas.pixelRect.width; + anchorMin.y /= canvas.pixelRect.height; + anchorMax.x /= canvas.pixelRect.width; + anchorMax.y /= canvas.pixelRect.height; + + safeAreaTransform.anchorMin = anchorMin; + safeAreaTransform.anchorMax = anchorMax; + + // Debug.Log( + // "ApplySafeArea:" + + // "\n Screen.orientation: " + Screen.orientation + + // #if UNITY_IOS + // "\n Device.generation: " + UnityEngine.iOS.Device.generation.ToString() + + // #endif + // "\n Screen.safeArea.position: " + Screen.safeArea.position.ToString() + + // "\n Screen.safeArea.size: " + Screen.safeArea.size.ToString() + + // "\n Screen.width / height: (" + Screen.width.ToString() + ", " + Screen.height.ToString() + ")" + + // "\n canvas.pixelRect.size: " + canvas.pixelRect.size.ToString() + + // "\n anchorMin: " + anchorMin.ToString() + + // "\n anchorMax: " + anchorMax.ToString()); + } + + void OnDestroy() + { + if (helpers != null && helpers.Contains(this)) + helpers.Remove(this); + } + + private static void OrientationChanged() + { + //Debug.Log("Orientation changed from " + lastOrientation + " to " + Screen.orientation + " at " + Time.time); + + lastOrientation = Screen.orientation; + lastResolution.x = Screen.width; + lastResolution.y = Screen.height; + + isLandscape = lastOrientation == ScreenOrientation.LandscapeLeft || lastOrientation == ScreenOrientation.LandscapeRight || lastOrientation == ScreenOrientation.LandscapeLeft; + onOrientationChange.Invoke(); + + } + + private static void ResolutionChanged() + { + if (lastResolution.x == Screen.width && lastResolution.y == Screen.height) + return; + + //Debug.Log("Resolution changed from " + lastResolution + " to (" + Screen.width + ", " + Screen.height + ") at " + Time.time); + + lastResolution.x = Screen.width; + lastResolution.y = Screen.height; + + isLandscape = Screen.width > Screen.height; + onResolutionChange.Invoke(); + } + + private static void SafeAreaChanged() + { + if (lastSafeArea == Screen.safeArea.size) + return; + + //Debug.Log("Safe Area changed from " + lastSafeArea + " to " + Screen.safeArea.size + " at " + Time.time); + + lastSafeArea = Screen.safeArea.size; + + for (int i = 0; i < helpers.Count; i++) + { + helpers[i].ApplySafeArea(); + } + } + + public static Vector2 GetCanvasSize() + { + return helpers[0].rectTransform.sizeDelta; + } + + public static Vector2 GetSafeAreaSize() + { + for (int i = 0; i < helpers.Count; i++) + { + if (helpers[i].safeAreaTransform != null) + { + return helpers[i].safeAreaTransform.sizeDelta; + } + } + + return GetCanvasSize(); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs.meta b/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs.meta new file mode 100644 index 00000000..69a9cf04 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/CanvasHelper.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d2e66983dec9e419ca626ad157bcc374 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/ClickableText.cs b/CTExample/Assets/Scripts/Utilities/ClickableText.cs new file mode 100644 index 00000000..5c170ed1 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ClickableText.cs @@ -0,0 +1,25 @@ +using TMPro; +using UnityEngine; +using UnityEngine.EventSystems; + +namespace CTExample +{ + [RequireComponent(typeof(TMP_Text))] + public class ClickableText : MonoBehaviour, IPointerClickHandler + { + public delegate void OnTextClicked(string text); + public event OnTextClicked OnTextClickedEvent; + + private TMP_Text _tmpText; + + void Start() + { + _tmpText = GetComponent(); + } + + public void OnPointerClick(PointerEventData eventData) + { + OnTextClickedEvent?.Invoke(_tmpText.text); + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/ClickableText.cs.meta b/CTExample/Assets/Scripts/Utilities/ClickableText.cs.meta new file mode 100644 index 00000000..50c3e35c --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ClickableText.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b9a510be3f6dc424699b6bf87183c623 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs b/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs new file mode 100644 index 00000000..4a37a31a --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs @@ -0,0 +1,74 @@ +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.UI; + +namespace CTExample +{ + /// + /// ScrollView that enables mousewheel and touchpad scrolling. + /// Enables scrolling over elements inside the scroll view. + /// + /// Use this component instead of the default ScrollRect component on a ScrollView. + /// + /// Script is based on https://discussions.unity.com/t/scroll-view-does-not-scroll-with-mousewheel-when-mouse-is-over-a-button-inside-the-scroll-view/781199/3 + /// + /// Note that to scroll over the ContentView, the ContentView needs to have a raycast target. + /// Ensure it has a graphic or image component and raycast target is enabled. It should also have a Canvas Renderer in that case. + /// + public class MouseWheelScrollRect : ScrollRect, IPointerEnterHandler, IPointerExitHandler + { + private static readonly string mouseScrollWheelAxis = "Mouse ScrollWheel"; + private bool swallowMouseWheelScrolls = true; + private bool isMouseOver = false; + + public void OnPointerEnter(PointerEventData eventData) + { + isMouseOver = true; + } + + public void OnPointerExit(PointerEventData eventData) + { + isMouseOver = false; + } + + private void Update() + { + // Detect the mouse wheel and generate a scroll. This fixes the issue where Unity will prevent our ScrollRect + // from receiving any mouse wheel messages if the mouse is over a raycast target (such as a button). + if (isMouseOver && IsMouseWheelRolling()) + { + var delta = Input.GetAxis(mouseScrollWheelAxis); + + PointerEventData pointerData = new PointerEventData(EventSystem.current); + pointerData.scrollDelta = new Vector2(0f, delta); + + swallowMouseWheelScrolls = false; + OnScroll(pointerData); + swallowMouseWheelScrolls = true; + } + } + + public override void OnScroll(PointerEventData data) + { + if (IsMouseWheelRolling() && swallowMouseWheelScrolls) + { + // Eat the scroll so that we don't get a double scroll when the mouse is over an image + } + else + { + // Amplify the mousewheel so that it matches the scroll sensitivity. + if (data.scrollDelta.y < -Mathf.Epsilon) + data.scrollDelta = new Vector2(0f, -scrollSensitivity); + else if (data.scrollDelta.y > Mathf.Epsilon) + data.scrollDelta = new Vector2(0f, scrollSensitivity); + + base.OnScroll(data); + } + } + + private static bool IsMouseWheelRolling() + { + return Input.GetAxis(mouseScrollWheelAxis) != 0; + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs.meta b/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs.meta new file mode 100644 index 00000000..fecf40e6 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/MouseWheelScrollRect.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bca52053801124ad7bdd52ad3d730a16 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs b/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs new file mode 100644 index 00000000..9ce302e3 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs @@ -0,0 +1,39 @@ +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public static class RefreshContentHelper + { + public static void RefreshContentFitters(RectTransform transform) + { + RefreshContentFitter(transform); + } + + private static void RefreshContentFitter(RectTransform transform) + { + if (transform == null || !transform.gameObject.activeSelf) + { + return; + } + + foreach (RectTransform child in transform) + { + RefreshContentFitter(child); + } + + var layoutGroup = transform.GetComponent(); + var contentSizeFitter = transform.GetComponent(); + if (layoutGroup != null) + { + layoutGroup.SetLayoutHorizontal(); + layoutGroup.SetLayoutVertical(); + } + + if (contentSizeFitter != null) + { + LayoutRebuilder.ForceRebuildLayoutImmediate(transform); + } + } + } +} diff --git a/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs.meta b/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs.meta new file mode 100644 index 00000000..33f8ccfc --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/RefreshContentHelper.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c26e1e01e18a44fad95b78a11af9a17f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs b/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs new file mode 100644 index 00000000..bc546fe7 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs @@ -0,0 +1,72 @@ +using TMPro; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.UI; + +namespace CTExample +{ + /// + /// Enable scroll over InputFields inside ScrollView. + /// + /// The default behaviour pops up the keyboard on mobile and selects/focuses the input field on web/desktop. + /// The mouse wheel scroll stops when it reaches an input field. + /// This script fixes the above behavior. + /// + [RequireComponent(typeof(TMP_InputField))] + public class ScrollInputFieldFixer : MonoBehaviour, IBeginDragHandler, IEndDragHandler, IDragHandler, IPointerUpHandler + { + private ScrollRect _scrollRect = null; + private TMP_InputField _input = null; + private bool _isDragging = false; + private bool _preventScrollRectDrag; + + private void Start() + { + _scrollRect = GetComponentInParent(); + if (_scrollRect == null) + { + Debug.LogWarning("[ScrollInputFieldFixer]: ScrollRect not found."); + } + + _input = GetComponent(); + _input.DeactivateInputField(); + _input.onDeselect.AddListener(_ => _preventScrollRectDrag = false); + } + + public void OnBeginDrag(PointerEventData data) + { + if (_scrollRect != null && !_preventScrollRectDrag) + { + _isDragging = true; + _input.DeactivateInputField(); + _scrollRect.OnBeginDrag(data); + } + } + + public void OnEndDrag(PointerEventData data) + { + if (_scrollRect != null) + { + _isDragging = false; + _scrollRect.OnEndDrag(data); + } + } + + public void OnDrag(PointerEventData data) + { + if (_scrollRect != null) + { + _scrollRect.OnDrag(data); + } + } + + public void OnPointerUp(PointerEventData data) + { + if (!_isDragging && !data.dragging) + { + _input.ActivateInputField(); + _preventScrollRectDrag = true; + } + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs.meta b/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs.meta new file mode 100644 index 00000000..a4c0be9f --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/ScrollInputFieldFixer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 988aeaad03f1c42908e69c1f2ef471f2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Utilities/Utils.cs b/CTExample/Assets/Scripts/Utilities/Utils.cs new file mode 100644 index 00000000..752c3834 --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/Utils.cs @@ -0,0 +1,31 @@ +using System.Globalization; + +namespace CTExample +{ + internal static class Utils + { + internal static object ParseValue(string stringValue) + { + object value = stringValue; + if (stringValue.ToLower() == "true") + { + value = true; + } + else if (stringValue.ToLower() == "false") + { + value = false; + } + else if (int.TryParse(stringValue, out int result)) + { + value = result; + } + // parse double using dot separator disregarding the current culture separators, since the comma is used as properties separator + else if (double.TryParse(stringValue, NumberStyles.Any, CultureInfo.InvariantCulture, out double dResult)) + { + value = dResult; + } + + return value; + } + } +} \ No newline at end of file diff --git a/CTExample/Assets/Scripts/Utilities/Utils.cs.meta b/CTExample/Assets/Scripts/Utilities/Utils.cs.meta new file mode 100644 index 00000000..e9dc259d --- /dev/null +++ b/CTExample/Assets/Scripts/Utilities/Utils.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 12077fd7b17284314ac1b21536e97209 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Variables.meta b/CTExample/Assets/Scripts/Variables.meta new file mode 100644 index 00000000..464e87f1 --- /dev/null +++ b/CTExample/Assets/Scripts/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 429225b085fc94a8eb915d8631451730 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CTExample/Assets/Scripts/Variables/Variables.cs b/CTExample/Assets/Scripts/Variables/Variables.cs new file mode 100644 index 00000000..02420e18 --- /dev/null +++ b/CTExample/Assets/Scripts/Variables/Variables.cs @@ -0,0 +1,379 @@ +using System.Collections.Generic; +using CleverTapSDK; +using CleverTapSDK.Common; +using CleverTapSDK.Utilities; +using UnityEngine; +using UnityEngine.UI; + +namespace CTExample +{ + public class Variables : MonoBehaviour + { + public GameObject ButtonPrefab; + public VerticalLayoutGroup VerticalLayoutGroup; + + public GameObject keyValuePrefab; + + private GameObject _fetchButton; + private static bool VariablesDefined = false; + + // Variables + Var var_string; + Var var_int; + Var var_bool; + Var var_float; + Var var_double; + Var var_short; + Var var_long; + + Var> var_dict; + + Var> var_dict_complex; + + Var var_dictNested_outside; + + Var> androidSamsung; + Var androidSamsungS1; + Var androidSamsungS2; + + Var varGroupVarGroup; + Var> varGroup; + + Var group1Var1; + Var group1Group2Var3; + Var> group1; + + Var varHello; + + Var factory_var_file; + Var folder1FileVariable; + + void Start() + { + InitPanel(); + } + + public void Restore() + { + } + + private void InitPanel() + { + foreach (Transform child in VerticalLayoutGroup.GetComponent()) + { + Destroy(child.gameObject); + } + + var defineVariablesButton = AddButton("DefineVariables", "Define Variables"); + defineVariablesButton.GetComponent