com.puzzlescapegames.services 1.4.0 → 1.4.2
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/Editor/Attributes/ReadOnlyDrawer.cs +18 -0
- package/Editor/Attributes/ReadOnlyDrawer.cs.meta +3 -0
- package/Runtime/Attributes/ReadOnlyAttribute.cs +6 -0
- package/Runtime/Attributes/ReadOnlyAttribute.cs.meta +3 -0
- package/Runtime/Common/InfinityBlank.prefab +170 -0
- package/Runtime/Common/InfinityBlank.prefab.meta +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#if UNITY_EDITOR
|
|
2
|
+
using UnityEngine;
|
|
3
|
+
using UnityEditor;
|
|
4
|
+
|
|
5
|
+
namespace PuzzlescapeGames.Services
|
|
6
|
+
{
|
|
7
|
+
[ CustomPropertyDrawer( typeof(ReadOnlyAttribute) ) ]
|
|
8
|
+
public class ReadOnlyDrawer : PropertyDrawer
|
|
9
|
+
{
|
|
10
|
+
public override void OnGUI( Rect position, SerializedProperty property, GUIContent label )
|
|
11
|
+
{
|
|
12
|
+
GUI.enabled = false;
|
|
13
|
+
EditorGUI.PropertyField( position, property, label, true );
|
|
14
|
+
GUI.enabled = true;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
#endif
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &4466119165228728810
|
|
4
|
+
GameObject:
|
|
5
|
+
m_ObjectHideFlags: 0
|
|
6
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
7
|
+
m_PrefabInstance: {fileID: 0}
|
|
8
|
+
m_PrefabAsset: {fileID: 0}
|
|
9
|
+
serializedVersion: 6
|
|
10
|
+
m_Component:
|
|
11
|
+
- component: {fileID: 4052514283633931378}
|
|
12
|
+
- component: {fileID: 8655459767186803380}
|
|
13
|
+
- component: {fileID: 7338271919814716994}
|
|
14
|
+
- component: {fileID: 8044963889479846946}
|
|
15
|
+
- component: {fileID: 3734458945657104372}
|
|
16
|
+
- component: {fileID: 1252738855438802417}
|
|
17
|
+
- component: {fileID: 2453420009536555917}
|
|
18
|
+
- component: {fileID: 8961815470880273439}
|
|
19
|
+
m_Layer: 5
|
|
20
|
+
m_Name: InfinityBlank
|
|
21
|
+
m_TagString: Untagged
|
|
22
|
+
m_Icon: {fileID: 0}
|
|
23
|
+
m_NavMeshLayer: 0
|
|
24
|
+
m_StaticEditorFlags: 0
|
|
25
|
+
m_IsActive: 1
|
|
26
|
+
--- !u!224 &4052514283633931378
|
|
27
|
+
RectTransform:
|
|
28
|
+
m_ObjectHideFlags: 0
|
|
29
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
30
|
+
m_PrefabInstance: {fileID: 0}
|
|
31
|
+
m_PrefabAsset: {fileID: 0}
|
|
32
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
33
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
34
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
35
|
+
m_LocalScale: {x: 0, y: 0, z: 0}
|
|
36
|
+
m_ConstrainProportionsScale: 0
|
|
37
|
+
m_Children: []
|
|
38
|
+
m_Father: {fileID: 0}
|
|
39
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
40
|
+
m_AnchorMin: {x: 0, y: 0}
|
|
41
|
+
m_AnchorMax: {x: 0, y: 0}
|
|
42
|
+
m_AnchoredPosition: {x: 0, y: 0}
|
|
43
|
+
m_SizeDelta: {x: 0, y: 0}
|
|
44
|
+
m_Pivot: {x: 0, y: 0}
|
|
45
|
+
--- !u!223 &8655459767186803380
|
|
46
|
+
Canvas:
|
|
47
|
+
m_ObjectHideFlags: 0
|
|
48
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
49
|
+
m_PrefabInstance: {fileID: 0}
|
|
50
|
+
m_PrefabAsset: {fileID: 0}
|
|
51
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
52
|
+
m_Enabled: 1
|
|
53
|
+
serializedVersion: 3
|
|
54
|
+
m_RenderMode: 0
|
|
55
|
+
m_Camera: {fileID: 0}
|
|
56
|
+
m_PlaneDistance: 100
|
|
57
|
+
m_PixelPerfect: 0
|
|
58
|
+
m_ReceivesEvents: 1
|
|
59
|
+
m_OverrideSorting: 0
|
|
60
|
+
m_OverridePixelPerfect: 0
|
|
61
|
+
m_SortingBucketNormalizedSize: 0
|
|
62
|
+
m_VertexColorAlwaysGammaSpace: 0
|
|
63
|
+
m_AdditionalShaderChannelsFlag: 0
|
|
64
|
+
m_UpdateRectTransformForStandalone: 0
|
|
65
|
+
m_SortingLayerID: 0
|
|
66
|
+
m_SortingOrder: 9999
|
|
67
|
+
m_TargetDisplay: 0
|
|
68
|
+
--- !u!114 &7338271919814716994
|
|
69
|
+
MonoBehaviour:
|
|
70
|
+
m_ObjectHideFlags: 0
|
|
71
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
72
|
+
m_PrefabInstance: {fileID: 0}
|
|
73
|
+
m_PrefabAsset: {fileID: 0}
|
|
74
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
75
|
+
m_Enabled: 1
|
|
76
|
+
m_EditorHideFlags: 0
|
|
77
|
+
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
|
78
|
+
m_Name:
|
|
79
|
+
m_EditorClassIdentifier:
|
|
80
|
+
m_UiScaleMode: 0
|
|
81
|
+
m_ReferencePixelsPerUnit: 100
|
|
82
|
+
m_ScaleFactor: 1
|
|
83
|
+
m_ReferenceResolution: {x: 800, y: 600}
|
|
84
|
+
m_ScreenMatchMode: 0
|
|
85
|
+
m_MatchWidthOrHeight: 0
|
|
86
|
+
m_PhysicalUnit: 3
|
|
87
|
+
m_FallbackScreenDPI: 96
|
|
88
|
+
m_DefaultSpriteDPI: 96
|
|
89
|
+
m_DynamicPixelsPerUnit: 1
|
|
90
|
+
m_PresetInfoIsWorld: 0
|
|
91
|
+
--- !u!114 &8044963889479846946
|
|
92
|
+
MonoBehaviour:
|
|
93
|
+
m_ObjectHideFlags: 0
|
|
94
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
95
|
+
m_PrefabInstance: {fileID: 0}
|
|
96
|
+
m_PrefabAsset: {fileID: 0}
|
|
97
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
98
|
+
m_Enabled: 1
|
|
99
|
+
m_EditorHideFlags: 0
|
|
100
|
+
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
|
101
|
+
m_Name:
|
|
102
|
+
m_EditorClassIdentifier:
|
|
103
|
+
m_IgnoreReversedGraphics: 1
|
|
104
|
+
m_BlockingObjects: 0
|
|
105
|
+
m_BlockingMask:
|
|
106
|
+
serializedVersion: 2
|
|
107
|
+
m_Bits: 4294967295
|
|
108
|
+
--- !u!222 &3734458945657104372
|
|
109
|
+
CanvasRenderer:
|
|
110
|
+
m_ObjectHideFlags: 0
|
|
111
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
112
|
+
m_PrefabInstance: {fileID: 0}
|
|
113
|
+
m_PrefabAsset: {fileID: 0}
|
|
114
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
115
|
+
m_CullTransparentMesh: 1
|
|
116
|
+
--- !u!114 &1252738855438802417
|
|
117
|
+
MonoBehaviour:
|
|
118
|
+
m_ObjectHideFlags: 0
|
|
119
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
120
|
+
m_PrefabInstance: {fileID: 0}
|
|
121
|
+
m_PrefabAsset: {fileID: 0}
|
|
122
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
123
|
+
m_Enabled: 1
|
|
124
|
+
m_EditorHideFlags: 0
|
|
125
|
+
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
126
|
+
m_Name:
|
|
127
|
+
m_EditorClassIdentifier:
|
|
128
|
+
m_Material: {fileID: 0}
|
|
129
|
+
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
|
130
|
+
m_RaycastTarget: 1
|
|
131
|
+
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
132
|
+
m_Maskable: 1
|
|
133
|
+
m_OnCullStateChanged:
|
|
134
|
+
m_PersistentCalls:
|
|
135
|
+
m_Calls: []
|
|
136
|
+
m_Sprite: {fileID: 0}
|
|
137
|
+
m_Type: 0
|
|
138
|
+
m_PreserveAspect: 0
|
|
139
|
+
m_FillCenter: 1
|
|
140
|
+
m_FillMethod: 4
|
|
141
|
+
m_FillAmount: 1
|
|
142
|
+
m_FillClockwise: 1
|
|
143
|
+
m_FillOrigin: 0
|
|
144
|
+
m_UseSpriteMesh: 0
|
|
145
|
+
m_PixelsPerUnitMultiplier: 1
|
|
146
|
+
--- !u!114 &2453420009536555917
|
|
147
|
+
MonoBehaviour:
|
|
148
|
+
m_ObjectHideFlags: 0
|
|
149
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
150
|
+
m_PrefabInstance: {fileID: 0}
|
|
151
|
+
m_PrefabAsset: {fileID: 0}
|
|
152
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
153
|
+
m_Enabled: 1
|
|
154
|
+
m_EditorHideFlags: 0
|
|
155
|
+
m_Script: {fileID: 11500000, guid: 9aa6cd9fae0e4c3ebe9373c537035926, type: 3}
|
|
156
|
+
m_Name:
|
|
157
|
+
m_EditorClassIdentifier:
|
|
158
|
+
<CanvasGroup>k__BackingField: {fileID: 8961815470880273439}
|
|
159
|
+
--- !u!225 &8961815470880273439
|
|
160
|
+
CanvasGroup:
|
|
161
|
+
m_ObjectHideFlags: 0
|
|
162
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
163
|
+
m_PrefabInstance: {fileID: 0}
|
|
164
|
+
m_PrefabAsset: {fileID: 0}
|
|
165
|
+
m_GameObject: {fileID: 4466119165228728810}
|
|
166
|
+
m_Enabled: 1
|
|
167
|
+
m_Alpha: 1
|
|
168
|
+
m_Interactable: 1
|
|
169
|
+
m_BlocksRaycasts: 1
|
|
170
|
+
m_IgnoreParentGroups: 0
|