feat: TextMeshPro support
BREAKING CHANGE: TextMeshPro support is now an option. If a shader or material has errors after a version upgrade, you will need to import the asset. Please see the README for more information.vr
parent
1b3a25e195
commit
5b0906b608
|
@ -1,7 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 935b7be1c88464d2eb87204fdfab5a38
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,7 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e65241fa80a374114b3f55ed746c04d9
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,9 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 94593ebff37d04a64936ebe46ce7e769
|
||||
timeCreated: 1450517184
|
||||
licenseType: Pro
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -8,13 +8,18 @@ namespace Coffee.UISoftMask
|
|||
{
|
||||
public static class ImportSampleMenu
|
||||
{
|
||||
[MenuItem("Assets/Samples/Import UISoftMask Sample")]
|
||||
private static void ImportSample()
|
||||
{
|
||||
const string jsonGuid = "c43fd233e88b347cdabc530c23ffe30a";
|
||||
const string dirName = "Demo";
|
||||
private const string jsonGuid = "c43fd233e88b347cdabc530c23ffe30a";
|
||||
|
||||
ImportSample(jsonGuid, dirName);
|
||||
[MenuItem("Assets/Samples/UISoftMask/Import Demo")]
|
||||
private static void ImportDemo()
|
||||
{
|
||||
ImportSample(jsonGuid, "Demo");
|
||||
}
|
||||
|
||||
[MenuItem("Assets/Samples/UISoftMask/Import TextMeshPro Support")]
|
||||
private static void ImportTextMeshProSupport()
|
||||
{
|
||||
ImportSample(jsonGuid, "TextMeshProSupport");
|
||||
}
|
||||
|
||||
private static void ImportSample(string jsonGuid, string sampleName)
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
"displayName": "Demo",
|
||||
"description": "UI Soft Mask Demo",
|
||||
"path": "Samples~/Demo"
|
||||
},
|
||||
{
|
||||
"displayName": "TextMeshPro Support",
|
||||
"description": "TextMeshPro Support",
|
||||
"path": "Samples~/TextMeshPro Support"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue