mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 17:18:44 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
49350d1174
@ -8,7 +8,7 @@ if [ $# -lt 2 ] || [ $# -gt 4 ]; then
|
||||
echo "Usage: ./setup.sh <Godot branch or tag> <dev:true|false> <mono:true|false>? <godot-repository>?"
|
||||
echo
|
||||
echo "e.g.:"
|
||||
echo " ./setup.sh 4.1.3-stable true"
|
||||
echo " ./setup.sh 4.2.1-stable true"
|
||||
echo " ./setup.sh master false true"
|
||||
echo " ./setup.sh master false false https://github.com/my-github-username/godot.git"
|
||||
echo
|
||||
|
||||
@ -822,7 +822,12 @@ namespace Spine.Unity {
|
||||
Material[] originalMaterials = maskMaterials.materialsMaskDisabled;
|
||||
materialsToFill = new Material[originalMaterials.Length];
|
||||
for (int i = 0; i < originalMaterials.Length; i++) {
|
||||
Material newMaterial = new Material(originalMaterials[i]);
|
||||
Material originalMaterial = originalMaterials[i];
|
||||
if (originalMaterial == null) {
|
||||
materialsToFill[i] = null;
|
||||
continue;
|
||||
}
|
||||
Material newMaterial = new Material(originalMaterial);
|
||||
newMaterial.SetFloat(STENCIL_COMP_PARAM_ID, (int)maskFunction);
|
||||
materialsToFill[i] = newMaterial;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core.",
|
||||
"version": "4.2.60",
|
||||
"version": "4.2.61",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user