Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GalaxySmash
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hà Trung (NEGAXY)
GalaxySmash
Commits
7d22f79d
Commit
7d22f79d
authored
Dec 15, 2021
by
Hà Trung (NEGAXY)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trung: them restore purchases
parent
e4551c32
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1105 additions
and
15 deletions
+1105
-15
button_galaxy.png
Assets/Game Resources/Sprites/Setting/button_galaxy.png
+0
-0
button_galaxy.png.meta
Assets/Game Resources/Sprites/Setting/button_galaxy.png.meta
+132
-0
IAPManager.cs
Assets/Negaxy Ads/Scripts/IAPManager.cs
+25
-0
home.unity
Assets/OSG Infinity Square Space/Scenes/home.unity
+914
-15
GuiManager.cs
Assets/Scripts/UI/GuiManager.cs
+1
-0
RestorePurchasePopup.cs
Assets/Scripts/UI/RestorePurchasePopup.cs
+7
-0
RestorePurchasePopup.cs.meta
Assets/Scripts/UI/RestorePurchasePopup.cs.meta
+11
-0
SettingPopup.cs
Assets/Scripts/UI/SettingPopup.cs
+15
-0
No files found.
Assets/Game Resources/Sprites/Setting/button_galaxy.png
0 → 100644
View file @
7d22f79d
3.26 KB
Assets/Game Resources/Sprites/Setting/button_galaxy.png.meta
0 → 100644
View file @
7d22f79d
fileFormatVersion: 2
guid: 116bedafecff33d458bb423d6ac7cf28
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Negaxy Ads/Scripts/IAPManager.cs
View file @
7d22f79d
...
@@ -133,4 +133,29 @@ public class IAPManager : Singleton<IAPManager>, IStoreListener
...
@@ -133,4 +133,29 @@ public class IAPManager : Singleton<IAPManager>, IStoreListener
{
{
return
m_StoreController
.
products
.
WithID
(
GetPackageID
(
id
));
return
m_StoreController
.
products
.
WithID
(
GetPackageID
(
id
));
}
}
public
void
OnRestorePurchase
(
Action
<
bool
>
m_callback
)
{
if
(!
IsInitialized
())
{
Debug
.
Log
(
"RestorePurchases FAIL. Not initialized."
);
return
;
}
if
(
Application
.
platform
==
RuntimePlatform
.
IPhonePlayer
||
Application
.
platform
==
RuntimePlatform
.
OSXPlayer
)
{
Debug
.
Log
(
"RestorePurchases started ..."
);
var
apple
=
m_StoreExtensionProvider
.
GetExtension
<
IAppleExtensions
>();
apple
.
RestoreTransactions
((
result
)
=>
{
Debug
.
Log
(
"RestorePurchases continuing: "
+
result
+
". If no further messages, no purchases available to restore."
);
m_callback
?.
Invoke
(
result
);
});
}
else
{
Debug
.
Log
(
"RestorePurchases FAIL. Not supported on this platform. Current = "
+
Application
.
platform
);
}
}
}
}
\ No newline at end of file
Assets/OSG Infinity Square Space/Scenes/home.unity
View file @
7d22f79d
...
@@ -1841,6 +1841,81 @@ TrailRenderer:
...
@@ -1841,6 +1841,81 @@ TrailRenderer:
m_MinVertexDistance: 0.1
m_MinVertexDistance: 0.1
m_Autodestruct: 0
m_Autodestruct: 0
m_Emitting: 1
m_Emitting: 1
--- !u!1 &53611444
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 53611445}
- component: {fileID: 53611446}
- component: {fileID: 53611447}
m_Layer: 5
m_Name: Bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &53611445
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 53611444}
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: 1163351898}
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 &53611446
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 53611444}
m_CullTransparentMesh: 1
--- !u!114 &53611447
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 53611444}
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.22352941, g: 0.15294118, b: 0.32941177, a: 0.54509807}
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!1 &54997604
--- !u!1 &54997604
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -24610,6 +24685,155 @@ CanvasRenderer:
...
@@ -24610,6 +24685,155 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 524298876}
m_GameObject: {fileID: 524298876}
m_CullTransparentMesh: 1
m_CullTransparentMesh: 1
--- !u!1 &525111552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 525111553}
- component: {fileID: 525111556}
- component: {fileID: 525111555}
- component: {fileID: 525111554}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &525111553
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 525111552}
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: 1780813848}
m_RootOrder: 0
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: -68}
m_SizeDelta: {x: 267.5614, y: 58.8108}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &525111554
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 525111552}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 50fd61b7673ae9e489895fd51ac74e0b, type: 3}
m_Name:
m_EditorClassIdentifier:
textData: {fileID: 11400000, guid: eb2edb57d85487d4d931312b687eefe5, type: 2}
--- !u!114 &525111555
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 525111552}
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: RESTORE PURCHASES
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: f3e7bb816e2d86b46a5261026fa0878d, type: 2}
m_sharedMaterial: {fileID: -6565559783658729758, guid: f3e7bb816e2d86b46a5261026fa0878d,
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: 27.95
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
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!222 &525111556
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 525111552}
m_CullTransparentMesh: 1
--- !u!1 &525288660
--- !u!1 &525288660
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -36317,6 +36541,141 @@ CanvasRenderer:
...
@@ -36317,6 +36541,141 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 654629834}
m_GameObject: {fileID: 654629834}
m_CullTransparentMesh: 1
m_CullTransparentMesh: 1
--- !u!1 &665465060
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 665465061}
- component: {fileID: 665465063}
- component: {fileID: 665465062}
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 &665465061
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 665465060}
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: 1780813848}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -35}
m_SizeDelta: {x: 530.5698, y: 197.0212}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &665465062
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 665465060}
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: Restore Purchases Successful
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 828dd775a1241bd499717f4d25d00134, type: 2}
m_sharedMaterial: {fileID: 8331841587601156102, guid: 828dd775a1241bd499717f4d25d00134,
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: 50
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 50
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!222 &665465063
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 665465060}
m_CullTransparentMesh: 1
--- !u!1 &675634140
--- !u!1 &675634140
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -40789,6 +41148,141 @@ MonoBehaviour:
...
@@ -40789,6 +41148,141 @@ MonoBehaviour:
m_ChildScaleWidth: 0
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
m_ReverseArrangement: 0
--- !u!1 &784203435
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 784203436}
- component: {fileID: 784203439}
- component: {fileID: 784203438}
- component: {fileID: 784203437}
m_Layer: 5
m_Name: Restore
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &784203436
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 784203435}
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: 789704323}
m_Father: {fileID: 3356609144482143195}
m_RootOrder: 5
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: -663}
m_SizeDelta: {x: 840.81, y: 117.59549}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &784203437
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 784203435}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8453f71be3bdd21458ea3bc8d61254cf, 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: 784203438}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3356609145081431346}
m_TargetAssemblyTypeName: SettingPopup, Assembly-CSharp
m_MethodName: OnClick_RestorePurchase
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
playeSoundOnclick: 1
isScale: 1
--- !u!114 &784203438
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 784203435}
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: 116bedafecff33d458bb423d6ac7cf28, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &784203439
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 784203435}
m_CullTransparentMesh: 1
--- !u!1 &789428159
--- !u!1 &789428159
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -40872,6 +41366,141 @@ MonoBehaviour:
...
@@ -40872,6 +41366,141 @@ MonoBehaviour:
m_ChildScaleWidth: 0
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
m_ReverseArrangement: 0
--- !u!1 &789704322
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 789704323}
- component: {fileID: 789704326}
- component: {fileID: 789704325}
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 &789704323
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 789704322}
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: 784203436}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.0000021458, y: -0.0000019073}
m_SizeDelta: {x: 500, y: 101.8082}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &789704325
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 789704322}
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: Restore Purchase
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 828dd775a1241bd499717f4d25d00134, type: 2}
m_sharedMaterial: {fileID: 8331841587601156102, guid: 828dd775a1241bd499717f4d25d00134,
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: 56.3
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 56.3
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!222 &789704326
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 789704322}
m_CullTransparentMesh: 1
--- !u!1 &791452103
--- !u!1 &791452103
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -64941,6 +65570,61 @@ CanvasRenderer:
...
@@ -64941,6 +65570,61 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1157042803}
m_GameObject: {fileID: 1157042803}
m_CullTransparentMesh: 1
m_CullTransparentMesh: 1
--- !u!1 &1163351896
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1163351898}
- component: {fileID: 1163351897}
m_Layer: 5
m_Name: RestorePurchasePopup
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &1163351897
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1163351896}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b78c2163d7038cd42aea76ec40c1bc1a, type: 3}
m_Name:
m_EditorClassIdentifier:
timeShow: 0.2
timeHide: 0.01
bg_alpha: 0.5
backgound: {fileID: 53611447}
popup: {fileID: 1780813848}
--- !u!224 &1163351898
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1163351896}
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: 53611445}
- {fileID: 1780813848}
m_Father: {fileID: 3356609145762315769}
m_RootOrder: 12
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!1 &1167898024
--- !u!1 &1167898024
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -75684,6 +76368,140 @@ RectTransform:
...
@@ -75684,6 +76368,140 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: -60.038086}
m_AnchoredPosition: {x: 0, y: -60.038086}
m_SizeDelta: {x: 0, y: -120.1001}
m_SizeDelta: {x: 0, y: -120.1001}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1398622662
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1398622663}
- component: {fileID: 1398622666}
- component: {fileID: 1398622665}
- component: {fileID: 1398622664}
m_Layer: 5
m_Name: Close
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1398622663
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1398622662}
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: 1780813848}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -52, y: -52}
m_SizeDelta: {x: 108.4526, y: 108.4526}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1398622664
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1398622662}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8453f71be3bdd21458ea3bc8d61254cf, 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: 1398622665}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1163351897}
m_TargetAssemblyTypeName: BasePopup, Assembly-CSharp
m_MethodName: OnClick_Close
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
playeSoundOnclick: 1
isScale: 1
--- !u!114 &1398622665
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1398622662}
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: c57a10b5551bff34c96837e7ce64a645, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1398622666
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1398622662}
m_CullTransparentMesh: 1
--- !u!1 &1400330181
--- !u!1 &1400330181
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -89439,6 +90257,84 @@ CanvasRenderer:
...
@@ -89439,6 +90257,84 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1778549405}
m_GameObject: {fileID: 1778549405}
m_CullTransparentMesh: 1
m_CullTransparentMesh: 1
--- !u!1 &1780813847
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1780813848}
- component: {fileID: 1780813850}
- component: {fileID: 1780813849}
m_Layer: 5
m_Name: Popup
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1780813848
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1780813847}
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: 525111553}
- {fileID: 1398622663}
- {fileID: 665465061}
m_Father: {fileID: 1163351898}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -2}
m_SizeDelta: {x: 852.4973, y: 450.1772}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1780813849
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1780813847}
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: ef58bed2c28c73f46afc0a1832bf2691, 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!222 &1780813850
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1780813847}
m_CullTransparentMesh: 1
--- !u!1 &1786017870
--- !u!1 &1786017870
GameObject:
GameObject:
m_ObjectHideFlags: 0
m_ObjectHideFlags: 0
...
@@ -113628,7 +114524,7 @@ RectTransform:
...
@@ -113628,7 +114524,7 @@ RectTransform:
- {fileID: 278286414639123142}
- {fileID: 278286414639123142}
- {fileID: 407684815657984142}
- {fileID: 407684815657984142}
m_Father: {fileID: 3356609144482143195}
m_Father: {fileID: 3356609144482143195}
m_RootOrder:
5
m_RootOrder:
6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
...
@@ -145985,14 +146881,15 @@ RectTransform:
...
@@ -145985,14 +146881,15 @@ RectTransform:
- {fileID: 8084433299181122816}
- {fileID: 8084433299181122816}
- {fileID: 5501559862671343027}
- {fileID: 5501559862671343027}
- {fileID: 5529423459726029492}
- {fileID: 5529423459726029492}
- {fileID: 784203436}
- {fileID: 913342362754707567}
- {fileID: 913342362754707567}
m_Father: {fileID: 3356609145081431345}
m_Father: {fileID: 3356609145081431345}
m_RootOrder: 1
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.000011444, y: 2
72
}
m_AnchoredPosition: {x: 0.000011444, y: 2
03.44934
}
m_SizeDelta: {x: 852.4973, y:
614.3694
}
m_SizeDelta: {x: 852.4973, y:
751.4706
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &3356609144490421749
--- !u!1 &3356609144490421749
GameObject:
GameObject:
...
@@ -159985,6 +160882,7 @@ MonoBehaviour:
...
@@ -159985,6 +160882,7 @@ MonoBehaviour:
mergePopup: {fileID: 1531131820}
mergePopup: {fileID: 1531131820}
notifyMultiRewardPopup: {fileID: 441403250931543156}
notifyMultiRewardPopup: {fileID: 441403250931543156}
buyCallbackPopup: {fileID: 4091296}
buyCallbackPopup: {fileID: 4091296}
restorePurchasePopup: {fileID: 1163351897}
source: {fileID: 3356609145624440183}
source: {fileID: 3356609145624440183}
source_2: {fileID: 597918934}
source_2: {fileID: 597918934}
bg_mains:
bg_mains:
...
@@ -161980,6 +162878,7 @@ RectTransform:
...
@@ -161980,6 +162878,7 @@ RectTransform:
- {fileID: 1531131819}
- {fileID: 1531131819}
- {fileID: 4788885306649018920}
- {fileID: 4788885306649018920}
- {fileID: 4091295}
- {fileID: 4091295}
- {fileID: 1163351898}
m_Father: {fileID: 3356609145624440186}
m_Father: {fileID: 3356609145624440186}
m_RootOrder: 1
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...
@@ -197582,10 +198481,10 @@ RectTransform:
...
@@ -197582,10 +198481,10 @@ RectTransform:
m_Father: {fileID: 3356609144482143195}
m_Father: {fileID: 3356609144482143195}
m_RootOrder: 3
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y:
0.5
}
m_AnchorMin: {x: 0.5, y:
1
}
m_AnchorMax: {x: 0.5, y:
0.5
}
m_AnchorMax: {x: 0.5, y:
1
}
m_AnchoredPosition: {x: 0.000012875, y: -
53
}
m_AnchoredPosition: {x: 0.000012875, y: -
365
}
m_SizeDelta: {x: 820.175, y: 130.849
5
}
m_SizeDelta: {x: 820.175, y: 130.849
49
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &5529423459726029492
--- !u!224 &5529423459726029492
RectTransform:
RectTransform:
...
@@ -197602,10 +198501,10 @@ RectTransform:
...
@@ -197602,10 +198501,10 @@ RectTransform:
m_Father: {fileID: 3356609144482143195}
m_Father: {fileID: 3356609144482143195}
m_RootOrder: 4
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y:
0.5
}
m_AnchorMin: {x: 0.5, y:
1
}
m_AnchorMax: {x: 0.5, y:
0.5
}
m_AnchorMax: {x: 0.5, y:
1
}
m_AnchoredPosition: {x:
-0.000029564, y: -236
}
m_AnchoredPosition: {x:
0, y: -517
}
m_SizeDelta: {x: 840.81, y: 117.595
5
}
m_SizeDelta: {x: 840.81, y: 117.595
49
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5538631186242735454
--- !u!222 &5538631186242735454
CanvasRenderer:
CanvasRenderer:
...
@@ -361683,10 +362582,10 @@ RectTransform:
...
@@ -361683,10 +362582,10 @@ RectTransform:
m_Father: {fileID: 3356609144482143195}
m_Father: {fileID: 3356609144482143195}
m_RootOrder: 2
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y:
0.5
}
m_AnchorMin: {x: 0.5, y:
1
}
m_AnchorMax: {x: 0.5, y:
0.5
}
m_AnchorMax: {x: 0.5, y:
1
}
m_AnchoredPosition: {x: 0.000012875, y:
99
}
m_AnchoredPosition: {x: 0.000012875, y:
-224
}
m_SizeDelta: {x: 820.175, y: 130.849
5
}
m_SizeDelta: {x: 820.175, y: 130.849
49
}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &8108930989915193846
--- !u!114 &8108930989915193846
MonoBehaviour:
MonoBehaviour:
Assets/Scripts/UI/GuiManager.cs
View file @
7d22f79d
...
@@ -29,6 +29,7 @@ public class GuiManager : MonoBehaviour
...
@@ -29,6 +29,7 @@ public class GuiManager : MonoBehaviour
public
MergePopup
mergePopup
;
public
MergePopup
mergePopup
;
public
NotifyMultiRewardPopup
notifyMultiRewardPopup
;
public
NotifyMultiRewardPopup
notifyMultiRewardPopup
;
public
BuyCallbackPopup
buyCallbackPopup
;
public
BuyCallbackPopup
buyCallbackPopup
;
public
RestorePurchasePopup
restorePurchasePopup
;
[
Header
(
"Audios"
)]
[
Header
(
"Audios"
)]
public
AudioSource
source
;
public
AudioSource
source
;
...
...
Assets/Scripts/UI/RestorePurchasePopup.cs
0 → 100644
View file @
7d22f79d
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
public
class
RestorePurchasePopup
:
BasePopup
{
}
Assets/Scripts/UI/RestorePurchasePopup.cs.meta
0 → 100644
View file @
7d22f79d
fileFormatVersion: 2
guid: b78c2163d7038cd42aea76ec40c1bc1a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scripts/UI/SettingPopup.cs
View file @
7d22f79d
...
@@ -34,6 +34,21 @@ public class SettingPopup : BasePopup
...
@@ -34,6 +34,21 @@ public class SettingPopup : BasePopup
CheckSound
();
CheckSound
();
GuiManager
.
Instance
.
CheckSound
();
GuiManager
.
Instance
.
CheckSound
();
}
}
public
void
OnClick_RestorePurchase
()
{
IAPManager
.
Instance
.
OnRestorePurchase
((
result
)
=>
{
if
(
result
)
{
GuiManager
.
Instance
.
restorePurchasePopup
.
gameObject
.
SetActive
(
true
);
DataManager
.
Instance
.
userData
.
adRemoved
=
true
;
DataManager
.
Instance
.
SaveUserData
();
AdsController
.
instance
.
HideBanner
();
GuiManager
.
Instance
.
homeScreen
.
CheckRemoveAds
();
}
});
}
private
void
CheckSound
()
private
void
CheckSound
()
{
{
bool
soundOn
=
DataManager
.
Instance
.
IsSoundOn
();
bool
soundOn
=
DataManager
.
Instance
.
IsSoundOn
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment