diff options
| -rw-r--r-- | Examples/example0.json | 19 | ||||
| -rw-r--r-- | Examples/example0.json.meta | 7 | ||||
| -rw-r--r-- | Examples/example1.json | 64 | ||||
| -rw-r--r-- | Examples/example2.json | 80 | ||||
| -rw-r--r-- | YOTS.prefab | 2 |
5 files changed, 94 insertions, 78 deletions
diff --git a/Examples/example0.json b/Examples/example0.json index d77e3e7..c9a3a14 100644 --- a/Examples/example0.json +++ b/Examples/example0.json @@ -3,24 +3,7 @@ "toggles": [ { "name": "Shirt", - "meshToggles": ["Shirt"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Chest_Hide" - } - ] - }, - { - "name": "Jacket", - "dependencies": ["Shirt"], - "meshToggles": ["Jacket"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Chest_Hide" - } - ] + "meshToggles": ["Shirt"] } ] } diff --git a/Examples/example0.json.meta b/Examples/example0.json.meta new file mode 100644 index 0000000..0aaf72d --- /dev/null +++ b/Examples/example0.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6ea334a57122a5f4e86867b979b7f13f +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Examples/example1.json b/Examples/example1.json index df27537..d77e3e7 100644 --- a/Examples/example1.json +++ b/Examples/example1.json @@ -3,78 +3,24 @@ "toggles": [ { "name": "Shirt", - "menuPath": "/Clothes", - "dependencies": ["Bra"], "meshToggles": ["Shirt"], - "defaultValue": 0.0, "blendShapes": [ { "path": "Body", - "blendShape": "Bra on" - }, - { - "path": "Body", - "blendShape": "Smush nips" - }, - { - "path": "Skirt", - "blendShape": "Shirt off", - "offValue": 100.0, - "onValue": 0.0 - } - ] - }, - { - "name": "Skirt", - "menuPath": "/Clothes", - "meshToggles": ["Skirt"], - "blendShapes": [] - }, - { - "name": "Socks", - "menuPath": "/Clothes", - "meshToggles": ["Socks"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Thigh squish" + "blendShape": "Chest_Hide" } ] }, { - "name": "Shoes", - "menuPath": "/Clothes", - "meshToggles": ["Shoes"], - "blendShapes": [] - }, - - { - "name": "Bra", - "menuPath": "/NSFW", - "meshToggles": ["Bra"], + "name": "Jacket", + "dependencies": ["Shirt"], + "meshToggles": ["Jacket"], "blendShapes": [ { "path": "Body", - "blendShape": "Bra on" - }, - { - "path": "Body", - "blendShape": "Smush nips" + "blendShape": "Chest_Hide" } ] - }, - { - "name": "Panties", - "menuPath": "/NSFW", - "meshToggles": ["Panties"], - "blendShapes": [] - }, - - { - "name": "Hair", - "menuPath": "/Misc", - "meshToggles": ["Hair"], - "blendShapes": [] } ] } diff --git a/Examples/example2.json b/Examples/example2.json new file mode 100644 index 0000000..df27537 --- /dev/null +++ b/Examples/example2.json @@ -0,0 +1,80 @@ +{ + "api_version": "1.0", + "toggles": [ + { + "name": "Shirt", + "menuPath": "/Clothes", + "dependencies": ["Bra"], + "meshToggles": ["Shirt"], + "defaultValue": 0.0, + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + }, + { + "path": "Skirt", + "blendShape": "Shirt off", + "offValue": 100.0, + "onValue": 0.0 + } + ] + }, + { + "name": "Skirt", + "menuPath": "/Clothes", + "meshToggles": ["Skirt"], + "blendShapes": [] + }, + { + "name": "Socks", + "menuPath": "/Clothes", + "meshToggles": ["Socks"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Thigh squish" + } + ] + }, + { + "name": "Shoes", + "menuPath": "/Clothes", + "meshToggles": ["Shoes"], + "blendShapes": [] + }, + + { + "name": "Bra", + "menuPath": "/NSFW", + "meshToggles": ["Bra"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + } + ] + }, + { + "name": "Panties", + "menuPath": "/NSFW", + "meshToggles": ["Panties"], + "blendShapes": [] + }, + + { + "name": "Hair", + "menuPath": "/Misc", + "meshToggles": ["Hair"], + "blendShapes": [] + } + ] +} diff --git a/YOTS.prefab b/YOTS.prefab index 7e296dc..fe8b7d5 100644 --- a/YOTS.prefab +++ b/YOTS.prefab @@ -44,4 +44,4 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: fc2ca698e5be6e446861920d8c4e4462, type: 3} m_Name: m_EditorClassIdentifier: - jsonConfig: {fileID: 4900000, guid: 7bfaea61dd9889641977c91a93757fce, type: 3} + jsonConfig: {fileID: 4900000, guid: 6ea334a57122a5f4e86867b979b7f13f, type: 3} |
