Commit 27009a1e authored by lujie's avatar lujie
Browse files

feat(app): unity deal

parent a8b8035c
import { AbilityConstant, common, Want } from "@kit.AbilityKit"; import { AbilityConstant, common, Want } from "@kit.AbilityKit";
import { fastSdk, InitResult, LogUtil } from "fastsdk"; import { fastSdk, InitResult, LogUtil } from "fastsdk";
import { window } from "@kit.ArkUI"; import { window } from "@kit.ArkUI";
import { processMgr } from "fastsdk/src/main/ets/utils/PageManager";
import { GoodsInfo } from "fastsdk/src/main/ets/model/GoodsInfo"; import { GoodsInfo } from "fastsdk/src/main/ets/model/GoodsInfo";
import { LoginResult } from "fastsdk/src/main/ets/model/LoginResult"; import { LoginResult } from "fastsdk/src/main/ets/model/LoginResult";
import { PayParams } from "fastsdk/src/main/ets/model/PayParams"; import { PayParams } from "fastsdk/src/main/ets/model/PayParams";
...@@ -81,7 +80,7 @@ class SdkPlugin { ...@@ -81,7 +80,7 @@ class SdkPlugin {
}, },
onExitSuccess: (result: string) => { onExitSuccess: (result: string) => {
LogUtil.info('退出成功:' + result); LogUtil.info('退出成功:' + result);
processMgr.exit(0) this.context.terminateSelf();
} }
}; };
fastSdk.hlAccountListener = { fastSdk.hlAccountListener = {
......
...@@ -19,7 +19,7 @@ MonoBehaviour: ...@@ -19,7 +19,7 @@ MonoBehaviour:
width: 1920 width: 1920
height: 1037 height: 1037
m_ShowMode: 4 m_ShowMode: 4
m_Title: Hierarchy m_Title: Project
m_RootView: {fileID: 2} m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
...@@ -119,7 +119,7 @@ MonoBehaviour: ...@@ -119,7 +119,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 100} m_MinSize: {x: 300, y: 100}
m_MaxSize: {x: 24288, y: 16192} m_MaxSize: {x: 24288, y: 16192}
vertical: 0 vertical: 0
controlID: 85 controlID: 104
draggingID: 0 draggingID: 0
--- !u!114 &6 --- !u!114 &6
MonoBehaviour: MonoBehaviour:
...@@ -140,7 +140,7 @@ MonoBehaviour: ...@@ -140,7 +140,7 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1372 width: 1250
height: 987 height: 987
m_MinSize: {x: 200, y: 100} m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 16192} m_MaxSize: {x: 16192, y: 16192}
...@@ -166,8 +166,8 @@ MonoBehaviour: ...@@ -166,8 +166,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1372 width: 1250
height: 547 height: 474
m_MinSize: {x: 200, y: 50} m_MinSize: {x: 200, y: 50}
m_MaxSize: {x: 16192, y: 8096} m_MaxSize: {x: 16192, y: 8096}
vertical: 0 vertical: 0
...@@ -190,10 +190,10 @@ MonoBehaviour: ...@@ -190,10 +190,10 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 353 width: 323
height: 547 height: 474
m_MinSize: {x: 201, y: 221} m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 13} m_ActualView: {fileID: 13}
m_Panes: m_Panes:
- {fileID: 13} - {fileID: 13}
...@@ -214,12 +214,12 @@ MonoBehaviour: ...@@ -214,12 +214,12 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 353 x: 323
y: 0 y: 0
width: 1019 width: 927
height: 547 height: 474
m_MinSize: {x: 202, y: 221} m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4002, y: 4021} m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 14} m_ActualView: {fileID: 14}
m_Panes: m_Panes:
- {fileID: 14} - {fileID: 14}
...@@ -236,24 +236,24 @@ MonoBehaviour: ...@@ -236,24 +236,24 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 1 m_EditorHideFlags: 1
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: ConsoleWindow m_Name: ProjectBrowser
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 547 y: 474
width: 1372 width: 1250
height: 440 height: 513
m_MinSize: {x: 101, y: 121} m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 10001, y: 10021}
m_ActualView: {fileID: 16} m_ActualView: {fileID: 15}
m_Panes: m_Panes:
- {fileID: 15} - {fileID: 15}
- {fileID: 16} - {fileID: 16}
- {fileID: 17} - {fileID: 17}
m_Selected: 1 m_Selected: 0
m_LastSelected: 0 m_LastSelected: 1
--- !u!114 &11 --- !u!114 &11
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -269,9 +269,9 @@ MonoBehaviour: ...@@ -269,9 +269,9 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 1372 x: 1250
y: 0 y: 0
width: 548 width: 670
height: 987 height: 987
m_MinSize: {x: 276, y: 71} m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
...@@ -300,10 +300,10 @@ MonoBehaviour: ...@@ -300,10 +300,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 333 x: 2913
y: 83 y: 73
width: 1013.5 width: 1017
height: 516 height: 453
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -368,8 +368,8 @@ MonoBehaviour: ...@@ -368,8 +368,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 2560 x: 2560
y: 73 y: 73
width: 352 width: 322
height: 526 height: 453
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -385,7 +385,7 @@ MonoBehaviour: ...@@ -385,7 +385,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 84eeffffd0eeffffacf0ffffdaf6ffff26f7ffff02f9ffff5afaffff m_ExpandedIDs: cefaffff
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -429,10 +429,10 @@ MonoBehaviour: ...@@ -429,10 +429,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 2913 x: 2883
y: 73 y: 73
width: 1017 width: 925
height: 526 height: 453
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1075,9 +1075,9 @@ MonoBehaviour: ...@@ -1075,9 +1075,9 @@ MonoBehaviour:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 2560 x: 2560
y: 480 y: 547
width: 1371 width: 1249
height: 559 height: 492
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1099,7 +1099,7 @@ MonoBehaviour: ...@@ -1099,7 +1099,7 @@ MonoBehaviour:
m_SkipHidden: 0 m_SkipHidden: 0
m_SearchArea: 1 m_SearchArea: 1
m_Folders: m_Folders:
- Assets/Plugins/Editor - Assets/Scripts/sdk/util
m_Globs: [] m_Globs: []
m_OriginalText: m_OriginalText:
m_ImportLogFlags: 0 m_ImportLogFlags: 0
...@@ -1107,16 +1107,16 @@ MonoBehaviour: ...@@ -1107,16 +1107,16 @@ MonoBehaviour:
m_ViewMode: 1 m_ViewMode: 1
m_StartGridSize: 64 m_StartGridSize: 64
m_LastFolders: m_LastFolders:
- Assets/Plugins/Editor - Assets/Scripts/sdk/util
m_LastFoldersGridSize: -1 m_LastFoldersGridSize: -1
m_LastProjectPath: D:\work\REMOTE_RESORURCE\UnityDemo m_LastProjectPath: D:\work\REMOTE_RESORURCE\UnityDemo
m_LockTracker: m_LockTracker:
m_IsLocked: 0 m_IsLocked: 0
m_FolderTreeState: m_FolderTreeState:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: 12670000 m_SelectedIDs: 42670000
m_LastClickedID: 26386 m_LastClickedID: 26434
m_ExpandedIDs: 00000000686700006a6700006c6700006e6700007067000072670000 m_ExpandedIDs: 000000001a6700001c6700001e67000020670000226700002467000000ca9a3b
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -1144,7 +1144,7 @@ MonoBehaviour: ...@@ -1144,7 +1144,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 00000000686700006a6700006c6700006e6700007067000072670000 m_ExpandedIDs: 000000001a6700001c6700001e670000206700002267000024670000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -1171,7 +1171,7 @@ MonoBehaviour: ...@@ -1171,7 +1171,7 @@ MonoBehaviour:
m_ListAreaState: m_ListAreaState:
m_SelectedInstanceIDs: m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0 m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 1 m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: c6230000b25c0000245a000000000000 m_ExpandedInstanceIDs: c6230000b25c0000245a000000000000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
...@@ -1221,9 +1221,9 @@ MonoBehaviour: ...@@ -1221,9 +1221,9 @@ MonoBehaviour:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 2560 x: 2560
y: 620 y: 618
width: 1371 width: 1371
height: 419 height: 421
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1289,9 +1289,9 @@ MonoBehaviour: ...@@ -1289,9 +1289,9 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 3932 x: 3810
y: 73 y: 73
width: 547 width: 669
height: 966 height: 966
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment