net.dreditor.choices 0.1.6 → 0.1.7
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/.attestation.p7m +0 -0
- package/ChoiceManager.cs +316 -316
- package/ChoiceManager.cs.meta +11 -11
- package/ChoiceOptionUI.cs +51 -51
- package/ChoiceOptionUI.cs.meta +11 -11
- package/ChoiceSaveHandler.cs +79 -79
- package/ChoiceSaveHandler.cs.meta +11 -11
- package/DREditor.Choices.asmdef +20 -20
- package/DREditor.Choices.asmdef.meta +7 -7
- package/DialogueChoiceHandler.cs +59 -59
- package/DialogueChoiceHandler.cs.meta +11 -11
- package/IChoiceManager.cs +43 -43
- package/IChoiceManager.cs.meta +11 -11
- package/{Samples → Samples~}/Choice_Save_Handler.prefab +72 -72
- package/{Samples → Samples~}/Choice_Save_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_Choice_Handler.prefab +49 -49
- package/{Samples → Samples~}/Dialogue_Choice_Handler.prefab.meta +7 -7
- package/package.json +43 -38
- package/package.json.meta +7 -7
- package/Samples.meta +0 -8
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
%YAML 1.1
|
|
2
|
-
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
-
--- !u!1 &6362605638772830146
|
|
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: 1990112493913278734}
|
|
12
|
-
- component: {fileID: 6490968805688521859}
|
|
13
|
-
- component: {fileID: 2208240244043241710}
|
|
14
|
-
m_Layer: 5
|
|
15
|
-
m_Name: Choice_Save_Handler
|
|
16
|
-
m_TagString: Untagged
|
|
17
|
-
m_Icon: {fileID: 0}
|
|
18
|
-
m_NavMeshLayer: 0
|
|
19
|
-
m_StaticEditorFlags: 0
|
|
20
|
-
m_IsActive: 1
|
|
21
|
-
--- !u!224 &1990112493913278734
|
|
22
|
-
RectTransform:
|
|
23
|
-
m_ObjectHideFlags: 0
|
|
24
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
25
|
-
m_PrefabInstance: {fileID: 0}
|
|
26
|
-
m_PrefabAsset: {fileID: 0}
|
|
27
|
-
m_GameObject: {fileID: 6362605638772830146}
|
|
28
|
-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
29
|
-
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
-
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
-
m_ConstrainProportionsScale: 0
|
|
32
|
-
m_Children: []
|
|
33
|
-
m_Father: {fileID: 0}
|
|
34
|
-
m_RootOrder: 0
|
|
35
|
-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
-
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
37
|
-
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
38
|
-
m_AnchoredPosition: {x: 0, y: 0}
|
|
39
|
-
m_SizeDelta: {x: 100, y: 100}
|
|
40
|
-
m_Pivot: {x: 0.5, y: 0.5}
|
|
41
|
-
--- !u!114 &6490968805688521859
|
|
42
|
-
MonoBehaviour:
|
|
43
|
-
m_ObjectHideFlags: 0
|
|
44
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
45
|
-
m_PrefabInstance: {fileID: 0}
|
|
46
|
-
m_PrefabAsset: {fileID: 0}
|
|
47
|
-
m_GameObject: {fileID: 6362605638772830146}
|
|
48
|
-
m_Enabled: 1
|
|
49
|
-
m_EditorHideFlags: 0
|
|
50
|
-
m_Script: {fileID: 11500000, guid: 3f6bb93956b512345ae1432c69775f0e, type: 3}
|
|
51
|
-
m_Name:
|
|
52
|
-
m_EditorClassIdentifier:
|
|
53
|
-
saveKey: Choices
|
|
54
|
-
OnPlayerDidntGivePresentChoice: {fileID: 2208240244043241710}
|
|
55
|
-
dontGivePresentChoiceIndex: 1
|
|
56
|
-
--- !u!114 &2208240244043241710
|
|
57
|
-
MonoBehaviour:
|
|
58
|
-
m_ObjectHideFlags: 0
|
|
59
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
60
|
-
m_PrefabInstance: {fileID: 0}
|
|
61
|
-
m_PrefabAsset: {fileID: 0}
|
|
62
|
-
m_GameObject: {fileID: 6362605638772830146}
|
|
63
|
-
m_Enabled: 1
|
|
64
|
-
m_EditorHideFlags: 0
|
|
65
|
-
m_Script: {fileID: 11500000, guid: 9122f094a109f78448db952c36a264a9, type: 3}
|
|
66
|
-
m_Name:
|
|
67
|
-
m_EditorClassIdentifier:
|
|
68
|
-
Event: {fileID: 11400000, guid: ef42b46fc425bd84da77d45014d59826, type: 2}
|
|
69
|
-
Response:
|
|
70
|
-
m_PersistentCalls:
|
|
71
|
-
m_Calls: []
|
|
72
|
-
Condition: {fileID: 0}
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &6362605638772830146
|
|
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: 1990112493913278734}
|
|
12
|
+
- component: {fileID: 6490968805688521859}
|
|
13
|
+
- component: {fileID: 2208240244043241710}
|
|
14
|
+
m_Layer: 5
|
|
15
|
+
m_Name: Choice_Save_Handler
|
|
16
|
+
m_TagString: Untagged
|
|
17
|
+
m_Icon: {fileID: 0}
|
|
18
|
+
m_NavMeshLayer: 0
|
|
19
|
+
m_StaticEditorFlags: 0
|
|
20
|
+
m_IsActive: 1
|
|
21
|
+
--- !u!224 &1990112493913278734
|
|
22
|
+
RectTransform:
|
|
23
|
+
m_ObjectHideFlags: 0
|
|
24
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
25
|
+
m_PrefabInstance: {fileID: 0}
|
|
26
|
+
m_PrefabAsset: {fileID: 0}
|
|
27
|
+
m_GameObject: {fileID: 6362605638772830146}
|
|
28
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
29
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
30
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
31
|
+
m_ConstrainProportionsScale: 0
|
|
32
|
+
m_Children: []
|
|
33
|
+
m_Father: {fileID: 0}
|
|
34
|
+
m_RootOrder: 0
|
|
35
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
36
|
+
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
37
|
+
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
38
|
+
m_AnchoredPosition: {x: 0, y: 0}
|
|
39
|
+
m_SizeDelta: {x: 100, y: 100}
|
|
40
|
+
m_Pivot: {x: 0.5, y: 0.5}
|
|
41
|
+
--- !u!114 &6490968805688521859
|
|
42
|
+
MonoBehaviour:
|
|
43
|
+
m_ObjectHideFlags: 0
|
|
44
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
45
|
+
m_PrefabInstance: {fileID: 0}
|
|
46
|
+
m_PrefabAsset: {fileID: 0}
|
|
47
|
+
m_GameObject: {fileID: 6362605638772830146}
|
|
48
|
+
m_Enabled: 1
|
|
49
|
+
m_EditorHideFlags: 0
|
|
50
|
+
m_Script: {fileID: 11500000, guid: 3f6bb93956b512345ae1432c69775f0e, type: 3}
|
|
51
|
+
m_Name:
|
|
52
|
+
m_EditorClassIdentifier:
|
|
53
|
+
saveKey: Choices
|
|
54
|
+
OnPlayerDidntGivePresentChoice: {fileID: 2208240244043241710}
|
|
55
|
+
dontGivePresentChoiceIndex: 1
|
|
56
|
+
--- !u!114 &2208240244043241710
|
|
57
|
+
MonoBehaviour:
|
|
58
|
+
m_ObjectHideFlags: 0
|
|
59
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
60
|
+
m_PrefabInstance: {fileID: 0}
|
|
61
|
+
m_PrefabAsset: {fileID: 0}
|
|
62
|
+
m_GameObject: {fileID: 6362605638772830146}
|
|
63
|
+
m_Enabled: 1
|
|
64
|
+
m_EditorHideFlags: 0
|
|
65
|
+
m_Script: {fileID: 11500000, guid: 9122f094a109f78448db952c36a264a9, type: 3}
|
|
66
|
+
m_Name:
|
|
67
|
+
m_EditorClassIdentifier:
|
|
68
|
+
Event: {fileID: 11400000, guid: ef42b46fc425bd84da77d45014d59826, type: 2}
|
|
69
|
+
Response:
|
|
70
|
+
m_PersistentCalls:
|
|
71
|
+
m_Calls: []
|
|
72
|
+
Condition: {fileID: 0}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 4f6c3bc1a8b6e9a4193e625c181954a0
|
|
3
|
-
PrefabImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 4f6c3bc1a8b6e9a4193e625c181954a0
|
|
3
|
+
PrefabImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
%YAML 1.1
|
|
2
|
-
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
-
--- !u!1 &5413613079836805745
|
|
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: 5413613079836805751}
|
|
12
|
-
- component: {fileID: 5413613079836805744}
|
|
13
|
-
m_Layer: 0
|
|
14
|
-
m_Name: Dialogue_Choice_Handler
|
|
15
|
-
m_TagString: Untagged
|
|
16
|
-
m_Icon: {fileID: 0}
|
|
17
|
-
m_NavMeshLayer: 0
|
|
18
|
-
m_StaticEditorFlags: 0
|
|
19
|
-
m_IsActive: 1
|
|
20
|
-
--- !u!4 &5413613079836805751
|
|
21
|
-
Transform:
|
|
22
|
-
m_ObjectHideFlags: 0
|
|
23
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
-
m_PrefabInstance: {fileID: 0}
|
|
25
|
-
m_PrefabAsset: {fileID: 0}
|
|
26
|
-
m_GameObject: {fileID: 5413613079836805745}
|
|
27
|
-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
28
|
-
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
-
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
-
m_ConstrainProportionsScale: 0
|
|
31
|
-
m_Children: []
|
|
32
|
-
m_Father: {fileID: 0}
|
|
33
|
-
m_RootOrder: 0
|
|
34
|
-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
-
--- !u!114 &5413613079836805744
|
|
36
|
-
MonoBehaviour:
|
|
37
|
-
m_ObjectHideFlags: 0
|
|
38
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
-
m_PrefabInstance: {fileID: 0}
|
|
40
|
-
m_PrefabAsset: {fileID: 0}
|
|
41
|
-
m_GameObject: {fileID: 5413613079836805745}
|
|
42
|
-
m_Enabled: 1
|
|
43
|
-
m_EditorHideFlags: 0
|
|
44
|
-
m_Script: {fileID: 11500000, guid: e79a5f2a04464bb46a3be0cda2b29ad2, type: 3}
|
|
45
|
-
m_Name:
|
|
46
|
-
m_EditorClassIdentifier:
|
|
47
|
-
inFastForwardMode: {fileID: 11400000, guid: 38c7cacea6166a140ab9c9d7d72ff637, type: 2}
|
|
48
|
-
inInstant: {fileID: 11400000, guid: d24a1d6a6eab7514eb7afc2eccc6245a, type: 2}
|
|
49
|
-
hasMenuAccess: {fileID: 11400000, guid: d969ff2ab7dd92342a1ac9ed2767ed51, type: 2}
|
|
1
|
+
%YAML 1.1
|
|
2
|
+
%TAG !u! tag:unity3d.com,2011:
|
|
3
|
+
--- !u!1 &5413613079836805745
|
|
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: 5413613079836805751}
|
|
12
|
+
- component: {fileID: 5413613079836805744}
|
|
13
|
+
m_Layer: 0
|
|
14
|
+
m_Name: Dialogue_Choice_Handler
|
|
15
|
+
m_TagString: Untagged
|
|
16
|
+
m_Icon: {fileID: 0}
|
|
17
|
+
m_NavMeshLayer: 0
|
|
18
|
+
m_StaticEditorFlags: 0
|
|
19
|
+
m_IsActive: 1
|
|
20
|
+
--- !u!4 &5413613079836805751
|
|
21
|
+
Transform:
|
|
22
|
+
m_ObjectHideFlags: 0
|
|
23
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
24
|
+
m_PrefabInstance: {fileID: 0}
|
|
25
|
+
m_PrefabAsset: {fileID: 0}
|
|
26
|
+
m_GameObject: {fileID: 5413613079836805745}
|
|
27
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
28
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
29
|
+
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
30
|
+
m_ConstrainProportionsScale: 0
|
|
31
|
+
m_Children: []
|
|
32
|
+
m_Father: {fileID: 0}
|
|
33
|
+
m_RootOrder: 0
|
|
34
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
35
|
+
--- !u!114 &5413613079836805744
|
|
36
|
+
MonoBehaviour:
|
|
37
|
+
m_ObjectHideFlags: 0
|
|
38
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
39
|
+
m_PrefabInstance: {fileID: 0}
|
|
40
|
+
m_PrefabAsset: {fileID: 0}
|
|
41
|
+
m_GameObject: {fileID: 5413613079836805745}
|
|
42
|
+
m_Enabled: 1
|
|
43
|
+
m_EditorHideFlags: 0
|
|
44
|
+
m_Script: {fileID: 11500000, guid: e79a5f2a04464bb46a3be0cda2b29ad2, type: 3}
|
|
45
|
+
m_Name:
|
|
46
|
+
m_EditorClassIdentifier:
|
|
47
|
+
inFastForwardMode: {fileID: 11400000, guid: 38c7cacea6166a140ab9c9d7d72ff637, type: 2}
|
|
48
|
+
inInstant: {fileID: 11400000, guid: d24a1d6a6eab7514eb7afc2eccc6245a, type: 2}
|
|
49
|
+
hasMenuAccess: {fileID: 11400000, guid: d969ff2ab7dd92342a1ac9ed2767ed51, type: 2}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: ff1c8a4761fc75747a7919cb6cec0fc4
|
|
3
|
-
PrefabImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: ff1c8a4761fc75747a7919cb6cec0fc4
|
|
3
|
+
PrefabImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|
package/package.json
CHANGED
|
@@ -1,38 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "net.dreditor.choices",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"displayName": "DREditor Choices",
|
|
5
|
-
"description": "The beta for DREditor. A tool to create death game style projects without having to code.",
|
|
6
|
-
"unity": "6000.4",
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"com.unity.inputsystem": "1.19.0",
|
|
9
|
-
"com.unity.ugui": "2.0.0",
|
|
10
|
-
"net.dreditor.core": "0.1.
|
|
11
|
-
"net.dreditor.ui": "0.1.
|
|
12
|
-
"net.dreditor.progressing.handling": "0.1.
|
|
13
|
-
},
|
|
14
|
-
"publishConfig": {
|
|
15
|
-
"access": "public"
|
|
16
|
-
},
|
|
17
|
-
"author": {
|
|
18
|
-
"name": "Benjamin \"Sweden\" Jillson",
|
|
19
|
-
"email": "dreditortool@gmail.com",
|
|
20
|
-
"url": "https://dreditor.net"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"editor",
|
|
24
|
-
"tool",
|
|
25
|
-
"dreditor"
|
|
26
|
-
],
|
|
27
|
-
"samples": [
|
|
28
|
-
{
|
|
29
|
-
"displayName": "Samples",
|
|
30
|
-
"description": "",
|
|
31
|
-
"path": "Samples~"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"documentationUrl": "https://dreditor.net",
|
|
35
|
-
"license": "Apache-2.0",
|
|
36
|
-
"licensesUrl": "https://dreditor.net/docs/LICENSE.html",
|
|
37
|
-
"changelogUrl": "https://dreditor.net/docs/CHANGELOG.html"
|
|
38
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "net.dreditor.choices",
|
|
3
|
+
"version": "0.1.7",
|
|
4
|
+
"displayName": "DREditor Choices",
|
|
5
|
+
"description": "The beta for DREditor. A tool to create death game style projects without having to code.",
|
|
6
|
+
"unity": "6000.4",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"com.unity.inputsystem": "1.19.0",
|
|
9
|
+
"com.unity.ugui": "2.0.0",
|
|
10
|
+
"net.dreditor.core": "0.1.7",
|
|
11
|
+
"net.dreditor.ui": "0.1.7",
|
|
12
|
+
"net.dreditor.progressing.handling": "0.1.7"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "Benjamin \"Sweden\" Jillson",
|
|
19
|
+
"email": "dreditortool@gmail.com",
|
|
20
|
+
"url": "https://dreditor.net"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"editor",
|
|
24
|
+
"tool",
|
|
25
|
+
"dreditor"
|
|
26
|
+
],
|
|
27
|
+
"samples": [
|
|
28
|
+
{
|
|
29
|
+
"displayName": "Samples",
|
|
30
|
+
"description": "",
|
|
31
|
+
"path": "Samples~"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"documentationUrl": "https://dreditor.net",
|
|
35
|
+
"license": "Apache-2.0",
|
|
36
|
+
"licensesUrl": "https://dreditor.net/docs/LICENSE.html",
|
|
37
|
+
"changelogUrl": "https://dreditor.net/docs/CHANGELOG.html",
|
|
38
|
+
"repository": {
|
|
39
|
+
"url": "https://github.com/CertifiedSharp/DREditor",
|
|
40
|
+
"type": "git",
|
|
41
|
+
"revision": "14ca252fbb33eb6f53557ecaed1c10902877698f"
|
|
42
|
+
}
|
|
43
|
+
}
|
package/package.json.meta
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 555df71916c8ab446af1028b37c3a6cd
|
|
3
|
-
TextScriptImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
userData:
|
|
6
|
-
assetBundleName:
|
|
7
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 555df71916c8ab446af1028b37c3a6cd
|
|
3
|
+
TextScriptImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
userData:
|
|
6
|
+
assetBundleName:
|
|
7
|
+
assetBundleVariant:
|