diff --git a/Assets/Plugins/Android/appboy-ui.aar b/Assets/Plugins/Android/appboy-ui.aar index d7a773c4..7d675f68 100644 Binary files a/Assets/Plugins/Android/appboy-ui.aar and b/Assets/Plugins/Android/appboy-ui.aar differ diff --git a/Assets/Plugins/Android/appboy-unity.aar b/Assets/Plugins/Android/appboy-unity.aar index 44230b56..682c0737 100644 Binary files a/Assets/Plugins/Android/appboy-unity.aar and b/Assets/Plugins/Android/appboy-unity.aar differ diff --git a/Assets/Plugins/Android/appboy.aar b/Assets/Plugins/Android/appboy.aar index 36261ec5..a9fc74eb 100644 Binary files a/Assets/Plugins/Android/appboy.aar and b/Assets/Plugins/Android/appboy.aar differ diff --git a/Assets/Plugins/Appboy/BrazeAndroidPlatform.cs b/Assets/Plugins/Appboy/BrazeAndroidPlatform.cs index 3bee26a8..af141c27 100644 --- a/Assets/Plugins/Appboy/BrazeAndroidPlatform.cs +++ b/Assets/Plugins/Appboy/BrazeAndroidPlatform.cs @@ -377,11 +377,11 @@ public void LogContentCardDismissed(string contentCardString) { } public void RequestContentCardsRefresh() { - Braze.Call("requestContentCardsRefresh", false); + Braze.Call("requestContentCardsRefresh"); } public void RequestContentCardsRefreshFromCache() { - Braze.Call("requestContentCardsRefresh", true); + Braze.Call("requestContentCardsRefreshFromCache"); } public void WipeData() { diff --git a/Assets/Plugins/Appboy/Internal/BrazeInternalComponent.cs b/Assets/Plugins/Appboy/Internal/BrazeInternalComponent.cs index d526d6f4..1e3a82a9 100644 --- a/Assets/Plugins/Appboy/Internal/BrazeInternalComponent.cs +++ b/Assets/Plugins/Appboy/Internal/BrazeInternalComponent.cs @@ -36,7 +36,9 @@ public void onPushTokenReceivedFromSystem(String token) { public BrazeInAppMessageListener iamListener; public void beforeInAppMessageDisplayed(string messageJSON) { + Debug.Log("BrazeInternalComponent.beforeInAppMessageDisplayed called with json: " + messageJSON); if (iamListener == null || iamListener.BeforeInAppMessageDisplayed == null) { + Debug.Log("BrazeInternalComponent.beforeInAppMessageDisplayed no-op on null listener"); return; } @@ -45,7 +47,9 @@ public void beforeInAppMessageDisplayed(string messageJSON) { } public void onInAppMessageDismissed(string messageJSON) { + Debug.Log("BrazeInternalComponent.onInAppMessageDismissed called with json: " + messageJSON); if (iamListener == null || iamListener.OnInAppMessageDismissed == null) { + Debug.Log("BrazeInternalComponent.onInAppMessageDismissed no-op on null listener"); return; } @@ -54,7 +58,9 @@ public void onInAppMessageDismissed(string messageJSON) { } public void onInAppMessageClicked(string messageJSON) { + Debug.Log("BrazeInternalComponent.onInAppMessageClicked called with json: " + messageJSON); if (iamListener == null || iamListener.OnInAppMessageClicked == null) { + Debug.Log("BrazeInternalComponent.onInAppMessageClicked no-op on null listener"); return; } @@ -63,7 +69,9 @@ public void onInAppMessageClicked(string messageJSON) { } public void onInAppMessageButtonClicked(string argvJSON) { + Debug.Log("BrazeInternalComponent.onInAppMessageButtonClicked called with json: " + argvJSON); if (iamListener == null || iamListener.OnInAppMessageButtonClicked == null) { + Debug.Log("BrazeInternalComponent.onInAppMessageButtonClicked no-op on null listener"); return; } @@ -80,7 +88,9 @@ public void onInAppMessageButtonClicked(string argvJSON) { } public void onInAppMessageHTMLClicked(string argvJSON) { + Debug.Log("BrazeInternalComponent.onInAppMessageHTMLClicked called with json: " + argvJSON); if (iamListener == null || iamListener.OnInAppMessageHTMLClicked == null) { + Debug.Log("BrazeInternalComponent.onInAppMessageHTMLClicked no-op on null listener"); return; } @@ -95,6 +105,5 @@ public void onInAppMessageHTMLClicked(string argvJSON) { Debug.Log("Received invalid in-app message data from native side."); } } - } } diff --git a/Assets/Plugins/CHANGELOG.md b/Assets/Plugins/CHANGELOG.md index ee83fda8..80c62523 100644 --- a/Assets/Plugins/CHANGELOG.md +++ b/Assets/Plugins/CHANGELOG.md @@ -1,3 +1,11 @@ +## 4.2.0 + +#### Breaking +- Updated the Android plugin to use [Braze Android SDK 26.2.0](https://github.com/braze-inc/braze-android-sdk/blob/master/CHANGELOG.md#2620) + +##### Fixed +- Fixed an issue on Android where In-App Message events would not properly get forwarded to the Unity layer. + ## 4.1.1 ##### Fixed diff --git a/CHANGELOG.md b/CHANGELOG.md index ee83fda8..80c62523 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 4.2.0 + +#### Breaking +- Updated the Android plugin to use [Braze Android SDK 26.2.0](https://github.com/braze-inc/braze-android-sdk/blob/master/CHANGELOG.md#2620) + +##### Fixed +- Fixed an issue on Android where In-App Message events would not properly get forwarded to the Unity layer. + ## 4.1.1 ##### Fixed diff --git a/LICENSE b/LICENSE index 466b967f..78ec48b5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022 Braze, Inc. +Copyright (c) 2023 Braze, Inc. All rights reserved. * Use of source code or binaries contained within Braze’s SDKs is permitted only to enable use of the Braze platform by customers of Braze. diff --git a/unity-samples/Assets/Plugins/Android/appboy-ui.aar b/unity-samples/Assets/Plugins/Android/appboy-ui.aar index bdc2170e..7d675f68 100644 Binary files a/unity-samples/Assets/Plugins/Android/appboy-ui.aar and b/unity-samples/Assets/Plugins/Android/appboy-ui.aar differ diff --git a/unity-samples/Assets/Plugins/Android/appboy-unity.aar b/unity-samples/Assets/Plugins/Android/appboy-unity.aar index 91e8946e..682c0737 100644 Binary files a/unity-samples/Assets/Plugins/Android/appboy-unity.aar and b/unity-samples/Assets/Plugins/Android/appboy-unity.aar differ diff --git a/unity-samples/Assets/Plugins/Android/appboy.aar b/unity-samples/Assets/Plugins/Android/appboy.aar index c0028cb7..a9fc74eb 100644 Binary files a/unity-samples/Assets/Plugins/Android/appboy.aar and b/unity-samples/Assets/Plugins/Android/appboy.aar differ diff --git a/unity-samples/Assets/Plugins/Android/mainTemplate.gradle b/unity-samples/Assets/Plugins/Android/mainTemplate.gradle index 45df43d8..43c3a304 100644 --- a/unity-samples/Assets/Plugins/Android/mainTemplate.gradle +++ b/unity-samples/Assets/Plugins/Android/mainTemplate.gradle @@ -8,7 +8,7 @@ dependencies { implementation "androidx.recyclerview:recyclerview:1.2.1" implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.0" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1" - implementation 'androidx.core:core:1.7.0' + implementation 'androidx.core:core:1.6.0' **DEPS**} android { diff --git a/unity-samples/Assets/Scripts/MainMenu.cs b/unity-samples/Assets/Scripts/MainMenu.cs index 8d97080a..f3757859 100644 --- a/unity-samples/Assets/Scripts/MainMenu.cs +++ b/unity-samples/Assets/Scripts/MainMenu.cs @@ -1,13 +1,25 @@ using Appboy; using Appboy.Models; +using Appboy.Models.InAppMessage; using UnityEngine; using UnityEngine.SceneManagement; using Utilities; using System.Collections.Generic; using System.Text; +using System; public class MainMenu : MonoBehaviour { + private void Start() { + BrazeInAppMessageListener listener = new BrazeInAppMessageListener() { + OnInAppMessageButtonClicked = OnInAppMessageButtonClicked, + OnInAppMessageClicked = OnInAppMessageClicked, + OnInAppMessageHTMLClicked = OnInAppMessageHTMLClicked, + OnInAppMessageDismissed = OnInAppMessageDismissed, + }; + Appboy.AppboyBinding.inAppMessageListener = listener; + } + public void OnChangeUserButtonClick() { SceneManager.LoadScene(Constants.ChangeUserScene); } @@ -78,6 +90,28 @@ public void OnDisplayNextInAppMessage() { Appboy.AppboyBinding.DisplayNextInAppMessage(); } + public void OnPrintAllGameObjects() { + GameObject[] allObjects = UnityEngine.Object.FindObjectsOfType(); + foreach(object gameObject in allObjects) + Debug.Log(gameObject + " is a GameObject."); + } + + public void OnInAppMessageDismissed(IInAppMessage inAppMessage) { + Debug.Log($"OnInAppMessageDismissed: {inAppMessage.Message}"); + } + + public void OnInAppMessageHTMLClicked(IInAppMessage inAppMessage, Uri uri) { + Debug.Log($"OnInAppMessageHTMLClicked: {inAppMessage.Message} {uri.AbsoluteUri}"); + } + + public void OnInAppMessageClicked(IInAppMessage inAppMessage) { + Debug.Log($"OnInAppMessageClicked: {inAppMessage.Message}"); + } + + public void OnInAppMessageButtonClicked(IInAppMessage inAppMessage, InAppMessageButton inAppMessageButton) { + Debug.Log($" OnInAppMessageButtonClicked: {inAppMessage.Message} {inAppMessageButton}"); + } + public void OnPresetUserDataClick() { Appboy.AppboyBinding.SetUserFirstName("jared"); Appboy.AppboyBinding.SetUserLastName("contreras"); diff --git a/unity-samples/Assets/_Scenes/MainMenu.unity b/unity-samples/Assets/_Scenes/MainMenu.unity index 49dce05f..2a80963d 100644 --- a/unity-samples/Assets/_Scenes/MainMenu.unity +++ b/unity-samples/Assets/_Scenes/MainMenu.unity @@ -152,6 +152,7 @@ RectTransform: 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: 1976743716} m_Father: {fileID: 1386363706} @@ -285,6 +286,7 @@ RectTransform: 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: 1155889578} m_Father: {fileID: 1386363706} @@ -418,6 +420,7 @@ RectTransform: 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: 2056718957} m_Father: {fileID: 1386363706} @@ -529,7 +532,7 @@ LightingSettings: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Settings.lighting - serializedVersion: 3 + serializedVersion: 4 m_GIWorkflowMode: 1 m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 @@ -542,7 +545,7 @@ LightingSettings: m_LightmapMaxSize: 1024 m_BakeResolution: 50 m_Padding: 2 - m_TextureCompression: 0 + m_LightmapCompression: 0 m_AO: 0 m_AOMaxDistance: 1 m_CompAOExponent: 0 @@ -583,6 +586,7 @@ LightingSettings: m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 + m_PVRTiledBaking: 0 --- !u!1 &198740939 GameObject: m_ObjectHideFlags: 0 @@ -611,6 +615,7 @@ RectTransform: 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: 512625830} m_RootOrder: 0 @@ -690,6 +695,7 @@ RectTransform: 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: 301732083} m_RootOrder: 0 @@ -772,6 +778,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 2d49b7c1bcd2e07499844da127be038d, type: 3} m_Name: m_EditorClassIdentifier: + m_SendPointerHoverToParent: 1 m_ForceModuleActive: 0 --- !u!114 &256636145 MonoBehaviour: @@ -785,6 +792,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} m_Name: m_EditorClassIdentifier: + m_SendPointerHoverToParent: 1 m_HorizontalAxis: Horizontal m_VerticalAxis: Vertical m_SubmitButton: Submit @@ -817,6 +825,7 @@ Transform: 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_RootOrder: 2 @@ -850,6 +859,7 @@ RectTransform: 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: 251944897} m_Father: {fileID: 1386363706} @@ -982,6 +992,7 @@ RectTransform: 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: 1158374112} m_RootOrder: 0 @@ -1062,6 +1073,7 @@ RectTransform: 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: 198740940} m_Father: {fileID: 1386363706} @@ -1194,6 +1206,7 @@ RectTransform: 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: 1355265508} m_RootOrder: 0 @@ -1274,6 +1287,7 @@ RectTransform: 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: 846663277} m_Father: {fileID: 1386363706} @@ -1406,6 +1420,7 @@ RectTransform: 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: 1301403601} m_RootOrder: 0 @@ -1486,6 +1501,7 @@ RectTransform: 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: 1085381975} m_Father: {fileID: 1386363706} @@ -1590,6 +1606,86 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 759713078} m_CullTransparentMesh: 0 +--- !u!1 &764277835 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 764277836} + - component: {fileID: 764277838} + - component: {fileID: 764277837} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &764277836 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 764277835} + 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: 2038562647} + 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!114 &764277837 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 764277835} + 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: 21 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: (unity) Print All GameObjects +--- !u!222 &764277838 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 764277835} + m_CullTransparentMesh: 0 --- !u!1 &846663276 GameObject: m_ObjectHideFlags: 0 @@ -1618,6 +1714,7 @@ RectTransform: 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: 618008070} m_RootOrder: 0 @@ -1757,6 +1854,7 @@ Transform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 1, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 @@ -1789,6 +1887,7 @@ RectTransform: 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: 1434861192} m_RootOrder: 0 @@ -1868,6 +1967,7 @@ RectTransform: 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: 759713079} m_RootOrder: 0 @@ -1947,6 +2047,7 @@ RectTransform: 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: 68565551} m_RootOrder: 0 @@ -2027,6 +2128,7 @@ RectTransform: 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: 446021098} m_Father: {fileID: 1386363706} @@ -2159,6 +2261,7 @@ Transform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 249.87682, y: 224.68256, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} m_RootOrder: 3 @@ -2215,6 +2318,7 @@ RectTransform: 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: 1370946105} m_RootOrder: 0 @@ -2295,6 +2399,7 @@ RectTransform: 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: 1402985356} m_Father: {fileID: 1386363706} @@ -2428,6 +2533,7 @@ RectTransform: 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: 673459007} m_Father: {fileID: 1386363706} @@ -2561,6 +2667,7 @@ RectTransform: 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: 582640149} m_Father: {fileID: 1386363706} @@ -2694,6 +2801,7 @@ RectTransform: 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: 1172784743} m_Father: {fileID: 1386363706} @@ -2826,6 +2934,7 @@ RectTransform: 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: 1690661270} m_RootOrder: 0 @@ -2981,6 +3090,7 @@ RectTransform: 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: 1301403601} - {fileID: 1158374112} @@ -2997,6 +3107,7 @@ RectTransform: - {fileID: 114399672} - {fileID: 1355265508} - {fileID: 618008070} + - {fileID: 2038562647} m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -3059,6 +3170,7 @@ RectTransform: 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: 1295591863} m_RootOrder: 0 @@ -3233,6 +3345,7 @@ RectTransform: 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: 910086431} m_Father: {fileID: 1386363706} @@ -3272,6 +3385,7 @@ RectTransform: 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: 1722242488} m_Father: {fileID: 1386363706} @@ -3405,6 +3519,7 @@ RectTransform: 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: 1386077354} m_Father: {fileID: 1386363706} @@ -3537,6 +3652,7 @@ RectTransform: 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: 1508682079} m_RootOrder: 0 @@ -3616,6 +3732,7 @@ RectTransform: 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: 55335614} m_RootOrder: 0 @@ -3667,6 +3784,140 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1976743715} m_CullTransparentMesh: 0 +--- !u!1 &2038562646 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2038562647} + - component: {fileID: 2038562650} + - component: {fileID: 2038562649} + - component: {fileID: 2038562648} + m_Layer: 5 + m_Name: Print All GameObjects + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2038562647 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2038562646} + 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: 764277836} + m_Father: {fileID: 1386363706} + m_RootOrder: 15 + 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!114 &2038562648 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2038562646} + 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: 2038562649} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1386363702} + m_TargetAssemblyTypeName: MainMenu, Assembly-CSharp + m_MethodName: OnPrintAllGameObjects + 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 +--- !u!114 &2038562649 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2038562646} + 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!222 &2038562650 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2038562646} + m_CullTransparentMesh: 0 --- !u!1 &2056718956 GameObject: m_ObjectHideFlags: 0 @@ -3695,6 +3946,7 @@ RectTransform: 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: 114399672} m_RootOrder: 0