com.puzzlescapegames.services 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/Runtime/Common/AudioMixer.mixer +146 -0
- package/Runtime/Common/AudioMixer.mixer.meta +8 -0
- package/Runtime/Common.meta +8 -0
- package/Runtime/Plugins/SlicedFilledImage.cs +730 -0
- package/Runtime/Plugins/SlicedFilledImage.cs.meta +11 -0
- package/Runtime/Plugins/UIGradient/Editor/UIGradientEditor.cs +218 -0
- package/Runtime/Plugins/UIGradient/Editor/UIGradientEditor.cs.meta +11 -0
- package/Runtime/Plugins/UIGradient/Editor/uigradient_inspector_icon.png +0 -0
- package/Runtime/Plugins/UIGradient/Editor/uigradient_inspector_icon.png.meta +110 -0
- package/Runtime/Plugins/UIGradient/Editor.meta +8 -0
- package/Runtime/Plugins/UIGradient/Scripts/UIGradient.cs +511 -0
- package/Runtime/Plugins/UIGradient/Scripts/UIGradient.cs.meta +11 -0
- package/Runtime/Plugins/UIGradient/Scripts/Vector2Extension.cs +24 -0
- package/Runtime/Plugins/UIGradient/Scripts/Vector2Extension.cs.meta +11 -0
- package/Runtime/Plugins/UIGradient/Scripts.meta +8 -0
- package/Runtime/Plugins/UIGradient.meta +8 -0
- package/Runtime/Plugins/Vibration/Vibration/Example/VibrationExample.cs +82 -0
- package/Runtime/Plugins/Vibration/Vibration/Example/VibrationExample.cs.meta +11 -0
- package/Runtime/Plugins/Vibration/Vibration/Example.meta +8 -0
- package/Runtime/Plugins/Vibration/Vibration/Vibration.cs +263 -0
- package/Runtime/Plugins/Vibration/Vibration/Vibration.cs.meta +12 -0
- package/Runtime/Plugins/Vibration/Vibration.asmdef +18 -0
- package/Runtime/Plugins/Vibration/Vibration.asmdef.meta +7 -0
- package/Runtime/Plugins/Vibration/Vibration.meta +8 -0
- package/Runtime/Plugins/Vibration/iOS/HapticFeedback.mm +64 -0
- package/Runtime/Plugins/Vibration/iOS/HapticFeedback.mm.meta +37 -0
- package/Runtime/Plugins/Vibration/iOS/Vibration.h +26 -0
- package/Runtime/Plugins/Vibration/iOS/Vibration.h.meta +27 -0
- package/Runtime/Plugins/Vibration/iOS/Vibration.mm +73 -0
- package/Runtime/Plugins/Vibration/iOS/Vibration.mm.meta +37 -0
- package/Runtime/Plugins/Vibration/iOS.meta +8 -0
- package/Runtime/Plugins/Vibration.meta +8 -0
- package/Runtime/Plugins.meta +8 -0
- package/Runtime/PuzzlescapeGames.Services.asmdef +19 -2
- package/Runtime/Services/AudioService/AudioService.cs +82 -0
- package/Runtime/Services/AudioService/AudioService.cs.meta +3 -0
- package/Runtime/Services/AudioService/AudioServiceCustomInstaller.cs +29 -0
- package/Runtime/Services/AudioService/AudioServiceCustomInstaller.cs.meta +3 -0
- package/Runtime/Services/AudioService/AudioSource.cs +87 -0
- package/Runtime/Services/AudioService/AudioSource.cs.meta +3 -0
- package/Runtime/Services/AudioService/AudioSourceFactory.cs +6 -0
- package/Runtime/Services/AudioService/AudioSourceFactory.cs.meta +3 -0
- package/Runtime/Services/AudioService/IAudioService.cs +16 -0
- package/Runtime/Services/AudioService/IAudioService.cs.meta +3 -0
- package/Runtime/Services/AudioService.meta +8 -0
- package/Runtime/Services/NTPService/INTPService.cs +13 -0
- package/Runtime/Services/NTPService/INTPService.cs.meta +3 -0
- package/Runtime/Services/NTPService/NTPService.cs +153 -0
- package/Runtime/Services/NTPService/NTPService.cs.meta +3 -0
- package/Runtime/Services/NTPService/NTPServiceInstaller.cs +12 -0
- package/Runtime/Services/NTPService/NTPServiceInstaller.cs.meta +3 -0
- package/Runtime/Services/NTPService.meta +8 -0
- package/Runtime/Services/TickableService/TickableService.cs +29 -0
- package/Runtime/Services/TickableService/TickableService.cs.meta +3 -0
- package/Runtime/Services/TickableService/TickableServiceInstaller.cs +12 -0
- package/Runtime/Services/TickableService/TickableServiceInstaller.cs.meta +3 -0
- package/Runtime/Services/TickableService.meta +8 -0
- package/Runtime/Services/UIBlockingService/UIBlocker.cs +15 -0
- package/Runtime/Services/UIBlockingService/UIBlocker.cs.meta +3 -0
- package/Runtime/Services/UIBlockingService/UIBlockingService.cs +36 -0
- package/Runtime/Services/UIBlockingService/UIBlockingService.cs.meta +3 -0
- package/Runtime/Services/UIBlockingService/UIBlockingServiceInstaller.cs +17 -0
- package/Runtime/Services/UIBlockingService/UIBlockingServiceInstaller.cs.meta +3 -0
- package/Runtime/Services/UIBlockingService.meta +8 -0
- package/Runtime/Services/VibrationService/IVibrationService.cs +7 -0
- package/Runtime/Services/VibrationService/IVibrationService.cs.meta +3 -0
- package/Runtime/Services/VibrationService/VibrationService.cs +19 -0
- package/Runtime/Services/VibrationService/VibrationService.cs.meta +3 -0
- package/Runtime/Services/VibrationService/VibrationServiceInstaller.cs +12 -0
- package/Runtime/Services/VibrationService/VibrationServiceInstaller.cs.meta +3 -0
- package/Runtime/Services/VibrationService.meta +8 -0
- package/Runtime/Services.meta +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,4 +3,8 @@ Common services.
|
|
|
3
3
|
## How to use
|
|
4
4
|
Install from npm by "com.puzzlescapegames.services".<br>
|
|
5
5
|
>Required ```com.puzzlescapegames.extensions```<br>
|
|
6
|
-
>Required ```com.puzzlescapegames.ioc_zenject```<br>
|
|
6
|
+
>Required ```com.puzzlescapegames.ioc_zenject```<br>
|
|
7
|
+
>Required [UniTask]<br>
|
|
8
|
+
```
|
|
9
|
+
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
|
|
10
|
+
```
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!244 &-8461503843806639858
|
|
4
|
+
AudioMixerEffectController:
|
|
5
|
+
m_ObjectHideFlags: 3
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
m_Name:
|
|
10
|
+
m_EffectID: c24b38b14a201af4a8bb8cc381f855d8
|
|
11
|
+
m_EffectName: Attenuation
|
|
12
|
+
m_MixLevel: 2a05e862ec030764a817f269040402a8
|
|
13
|
+
m_Parameters: []
|
|
14
|
+
m_SendTarget: {fileID: 0}
|
|
15
|
+
m_EnableWetMix: 0
|
|
16
|
+
m_Bypass: 0
|
|
17
|
+
--- !u!243 &-7223703584047178425
|
|
18
|
+
AudioMixerGroupController:
|
|
19
|
+
m_ObjectHideFlags: 0
|
|
20
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
21
|
+
m_PrefabInstance: {fileID: 0}
|
|
22
|
+
m_PrefabAsset: {fileID: 0}
|
|
23
|
+
m_Name: Music
|
|
24
|
+
m_AudioMixer: {fileID: 24100000}
|
|
25
|
+
m_GroupID: 415e865aecb0dec4989735320c5bb716
|
|
26
|
+
m_Children: []
|
|
27
|
+
m_Volume: f4cef9da461a56742a9df82963bd79e5
|
|
28
|
+
m_Pitch: 78c764bb0b17db645a6fca89748403f3
|
|
29
|
+
m_Send: 00000000000000000000000000000000
|
|
30
|
+
m_Effects:
|
|
31
|
+
- {fileID: 3972384365331816477}
|
|
32
|
+
m_UserColorIndex: 0
|
|
33
|
+
m_Mute: 0
|
|
34
|
+
m_Solo: 0
|
|
35
|
+
m_BypassEffects: 0
|
|
36
|
+
--- !u!241 &24100000
|
|
37
|
+
AudioMixerController:
|
|
38
|
+
m_ObjectHideFlags: 0
|
|
39
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
40
|
+
m_PrefabInstance: {fileID: 0}
|
|
41
|
+
m_PrefabAsset: {fileID: 0}
|
|
42
|
+
m_Name: AudioMixer
|
|
43
|
+
m_OutputGroup: {fileID: 0}
|
|
44
|
+
m_MasterGroup: {fileID: 24300002}
|
|
45
|
+
m_Snapshots:
|
|
46
|
+
- {fileID: 24500006}
|
|
47
|
+
m_StartSnapshot: {fileID: 24500006}
|
|
48
|
+
m_SuspendThreshold: -80
|
|
49
|
+
m_EnableSuspend: 1
|
|
50
|
+
m_UpdateMode: 0
|
|
51
|
+
m_ExposedParameters:
|
|
52
|
+
- guid: 8be27f7d6772d324b8a32e0f5eef83b2
|
|
53
|
+
name: MasterVolume
|
|
54
|
+
- guid: f4cef9da461a56742a9df82963bd79e5
|
|
55
|
+
name: MusicVolume
|
|
56
|
+
- guid: 53532c3a048fc5f488a95c8142d94800
|
|
57
|
+
name: SFXVolume
|
|
58
|
+
m_AudioMixerGroupViews:
|
|
59
|
+
- guids:
|
|
60
|
+
- 0700f2dc9a05e7e4d90aa3186eab1b88
|
|
61
|
+
- 415e865aecb0dec4989735320c5bb716
|
|
62
|
+
- ffe1964c3c64bce47a44ed22eab1bc8c
|
|
63
|
+
name: View
|
|
64
|
+
m_CurrentViewIndex: 0
|
|
65
|
+
m_TargetSnapshot: {fileID: 24500006}
|
|
66
|
+
--- !u!243 &24300002
|
|
67
|
+
AudioMixerGroupController:
|
|
68
|
+
m_ObjectHideFlags: 0
|
|
69
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
70
|
+
m_PrefabInstance: {fileID: 0}
|
|
71
|
+
m_PrefabAsset: {fileID: 0}
|
|
72
|
+
m_Name: Master
|
|
73
|
+
m_AudioMixer: {fileID: 24100000}
|
|
74
|
+
m_GroupID: 0700f2dc9a05e7e4d90aa3186eab1b88
|
|
75
|
+
m_Children:
|
|
76
|
+
- {fileID: -7223703584047178425}
|
|
77
|
+
- {fileID: 8236444753114105489}
|
|
78
|
+
m_Volume: 8be27f7d6772d324b8a32e0f5eef83b2
|
|
79
|
+
m_Pitch: 5cc0cb3aaf2e46d42b51763cf66e1246
|
|
80
|
+
m_Send: 00000000000000000000000000000000
|
|
81
|
+
m_Effects:
|
|
82
|
+
- {fileID: 24400004}
|
|
83
|
+
m_UserColorIndex: 0
|
|
84
|
+
m_Mute: 0
|
|
85
|
+
m_Solo: 0
|
|
86
|
+
m_BypassEffects: 0
|
|
87
|
+
--- !u!244 &24400004
|
|
88
|
+
AudioMixerEffectController:
|
|
89
|
+
m_ObjectHideFlags: 3
|
|
90
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
91
|
+
m_PrefabInstance: {fileID: 0}
|
|
92
|
+
m_PrefabAsset: {fileID: 0}
|
|
93
|
+
m_Name:
|
|
94
|
+
m_EffectID: 8dc4092d1a1a5f849bbb99e207fe44d5
|
|
95
|
+
m_EffectName: Attenuation
|
|
96
|
+
m_MixLevel: 84dc2916f7346af4b989de3c6b0e8c51
|
|
97
|
+
m_Parameters: []
|
|
98
|
+
m_SendTarget: {fileID: 0}
|
|
99
|
+
m_EnableWetMix: 0
|
|
100
|
+
m_Bypass: 0
|
|
101
|
+
--- !u!245 &24500006
|
|
102
|
+
AudioMixerSnapshotController:
|
|
103
|
+
m_ObjectHideFlags: 0
|
|
104
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
105
|
+
m_PrefabInstance: {fileID: 0}
|
|
106
|
+
m_PrefabAsset: {fileID: 0}
|
|
107
|
+
m_Name: Snapshot
|
|
108
|
+
m_AudioMixer: {fileID: 24100000}
|
|
109
|
+
m_SnapshotID: 2f7b4746b332c86469f3e5c36a0d171f
|
|
110
|
+
m_FloatValues:
|
|
111
|
+
53532c3a048fc5f488a95c8142d94800: -0.025776558
|
|
112
|
+
8be27f7d6772d324b8a32e0f5eef83b2: -0.27209902
|
|
113
|
+
m_TransitionOverrides: {}
|
|
114
|
+
--- !u!244 &3972384365331816477
|
|
115
|
+
AudioMixerEffectController:
|
|
116
|
+
m_ObjectHideFlags: 3
|
|
117
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
118
|
+
m_PrefabInstance: {fileID: 0}
|
|
119
|
+
m_PrefabAsset: {fileID: 0}
|
|
120
|
+
m_Name:
|
|
121
|
+
m_EffectID: 11568c368f090bc41a8c1f78b98b9312
|
|
122
|
+
m_EffectName: Attenuation
|
|
123
|
+
m_MixLevel: 6d117e9f830c04f418b98e828995eb86
|
|
124
|
+
m_Parameters: []
|
|
125
|
+
m_SendTarget: {fileID: 0}
|
|
126
|
+
m_EnableWetMix: 0
|
|
127
|
+
m_Bypass: 0
|
|
128
|
+
--- !u!243 &8236444753114105489
|
|
129
|
+
AudioMixerGroupController:
|
|
130
|
+
m_ObjectHideFlags: 0
|
|
131
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
132
|
+
m_PrefabInstance: {fileID: 0}
|
|
133
|
+
m_PrefabAsset: {fileID: 0}
|
|
134
|
+
m_Name: SFX
|
|
135
|
+
m_AudioMixer: {fileID: 24100000}
|
|
136
|
+
m_GroupID: ffe1964c3c64bce47a44ed22eab1bc8c
|
|
137
|
+
m_Children: []
|
|
138
|
+
m_Volume: 53532c3a048fc5f488a95c8142d94800
|
|
139
|
+
m_Pitch: eae576986e55aaa41ba4b10f9e81ff1c
|
|
140
|
+
m_Send: 00000000000000000000000000000000
|
|
141
|
+
m_Effects:
|
|
142
|
+
- {fileID: -8461503843806639858}
|
|
143
|
+
m_UserColorIndex: 0
|
|
144
|
+
m_Mute: 0
|
|
145
|
+
m_Solo: 0
|
|
146
|
+
m_BypassEffects: 0
|