Skip to content

Commit

Permalink
Merge branch 'master' into 2.0-2018v2.3.5
Browse files Browse the repository at this point in the history
Update Huawei version and add new files
  • Loading branch information
Andronovo-bit authored and alihan98ersoy committed Dec 6, 2023
1 parent b1ea598 commit 3c8734e
Show file tree
Hide file tree
Showing 42 changed files with 2,974 additions and 950 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/IssueLabeling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Label issues
on:
issues:
types:
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["new"]
})
auto-assign:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
with:
assignees: alihan98ersoy
allowSelfAssign: true
add-comment:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f
with:
issue-number: ${{ github.event.issue.number }}
body: |
&nbsp;Thank you for reporting this **issue/advice**. <br>We will get back to you as soon as possible. <br>&emsp;&emsp;&emsp;&emsp;Would you like to star our plugin <br>&emsp;&emsp;&emsp;to support us?:sparkles:
28 changes: 28 additions & 0 deletions .github/workflows/ask-for-star.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Add comment to solved and closed issues

on:
issues:
types: [closed]
labels:
- solved

jobs:
add-comment:
permissions: write-all
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Add comment to issue
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
comment-id: ${{ github.event.comment.id }}
repository: EvilMindDevs/hms-unity-plugin
body: |
Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin
Your support helps us continue to improve our repository and provide valuable resources for others.
124 changes: 124 additions & 0 deletions Assets/Huawei/Demos/Ads/AdsDemo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1974,3 +1974,127 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: f85aefbe901c01d4ba36430feb743a38, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &1424579276961344258
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 537667486}
m_Modifications:
- target: {fileID: 1424579275220415068, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: adUnitID
value: testy63txaom86
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415070, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_Name
value: native_large_image
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_RootOrder
value: 7
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_SizeDelta.x
value: 576.1738
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_SizeDelta.y
value: 366.31525
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -350
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1424579275220415071, guid: 56b6d4ff652465242a9c0dc8eee87809,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 56b6d4ff652465242a9c0dc8eee87809, type: 3}
7 changes: 5 additions & 2 deletions Assets/Huawei/Demos/CloudStorage/CloudStorageDemo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RenderSettings:
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
Expand Down Expand Up @@ -89,7 +89,7 @@ LightmapSettings:
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 1
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
Expand All @@ -109,6 +109,8 @@ NavMeshSettings:
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
Expand Down Expand Up @@ -279,6 +281,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
Expand Down
78 changes: 78 additions & 0 deletions Assets/Huawei/Demos/IAP/IapDemo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,84 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 0f7ee010b51766f429500be0fb8d9ef1, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &2004270529
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2004270530}
- component: {fileID: 2004270532}
- component: {fileID: 2004270531}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2004270530
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2004270529}
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: 1847605506}
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 &2004270531
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2004270529}
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: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 30
m_FontStyle: 1
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: MANAGE Subscriptions
--- !u!222 &2004270532
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2004270529}
m_CullTransparentMesh: 0
--- !u!1 &1541257161782053160
GameObject:
m_ObjectHideFlags: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
using UnityEngine.SceneManagement;
using UnityEngine.UI;

/* This demo scene has been created to show how to use IAP and Account kit in multiple scenes.
/* You can find detailed explanation with medium article: https://medium.com/huawei-developers/guide-to-using-and-understanding-huawei-inapppurchases-demo-scene-in-unity-e41626d5b47a
* This demo scene has been created to show how to use IAP and Account kit in multiple scenes.
* Here are the steps to use this demo.
* 1. Complete the quick start steps. https://evilminddevs.gitbook.io/hms-unity-plugin/getting-started/quick-start
* 2. Enable Account kit - IAP from kit settings. https://evilminddevs.gitbook.io/hms-unity-plugin/getting-started/quick-start/connect-your-game-with-the-hms-kit-managers
Expand Down
2 changes: 1 addition & 1 deletion Assets/Huawei/Demos/IAP/UnityDemo/UnityIapDemo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 220, y: -580}
m_AnchoredPosition: {x: -310, y: -437}
m_SizeDelta: {x: 411.6499, y: 122.39276}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &144428408
Expand Down
Loading

0 comments on commit 3c8734e

Please sign in to comment.