mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch '4.1' into 4.2-beta
This commit is contained in:
commit
65d063276b
@ -102,6 +102,10 @@ namespace Spine.Unity {
|
|||||||
+ "a) disable 'CanvasGroup Compatible' at the Material or\n"
|
+ "a) disable 'CanvasGroup Compatible' at the Material or\n"
|
||||||
+ "b) enable 'Canvas Group Tint Black' at the SkeletonGraphic component under 'Advanced'.\n"
|
+ "b) enable 'Canvas Group Tint Black' at the SkeletonGraphic component under 'Advanced'.\n"
|
||||||
+ "You may want to duplicate the 'SkeletonGraphicTintBlack' material and change settings at the duplicate to not affect all instances.";
|
+ "You may want to duplicate the 'SkeletonGraphicTintBlack' material and change settings at the duplicate to not affect all instances.";
|
||||||
|
public static readonly string kCanvasGroupCompatiblePMAVertexMessage =
|
||||||
|
"\nWarning: 'CanvasGroup Compatible' is enabled at the Material and 'PMA Vertex Colors' is enabled at SkeletonGraphic!\n\nPlease\n"
|
||||||
|
+ "a) disable 'CanvasGroup Compatible' at the Material or\n"
|
||||||
|
+ "b) disable 'PMA Vertex Colors' at the SkeletonGraphic component under 'Advanced'.";
|
||||||
|
|
||||||
public static bool IsMaterialSetupProblematic (SkeletonRenderer renderer, ref string errorMessage) {
|
public static bool IsMaterialSetupProblematic (SkeletonRenderer renderer, ref string errorMessage) {
|
||||||
Material[] materials = renderer.GetComponent<Renderer>().sharedMaterials;
|
Material[] materials = renderer.GetComponent<Renderer>().sharedMaterials;
|
||||||
@ -162,6 +166,10 @@ namespace Spine.Unity {
|
|||||||
isProblematic = true;
|
isProblematic = true;
|
||||||
errorMessage += kCanvasGroupCompatibleDisabledMessage;
|
errorMessage += kCanvasGroupCompatibleDisabledMessage;
|
||||||
}
|
}
|
||||||
|
if (settings.pmaVertexColors == true && IsCanvasGroupCompatible(material)) {
|
||||||
|
isProblematic = true;
|
||||||
|
errorMessage += kCanvasGroupCompatiblePMAVertexMessage;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return isProblematic;
|
return isProblematic;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-unity",
|
"name": "com.esotericsoftware.spine.spine-unity",
|
||||||
"displayName": "spine-unity Runtime",
|
"displayName": "spine-unity Runtime",
|
||||||
"description": "This plugin provides the spine-unity runtime core.",
|
"description": "This plugin provides the spine-unity runtime core.",
|
||||||
"version": "4.2.16",
|
"version": "4.2.17",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
@ -1,26 +1,26 @@
|
|||||||
# Spine Runtimes License Agreement
|
# Spine Runtimes License Agreement
|
||||||
Last updated May 1, 2019. Replaces all prior versions.
|
Last updated July 28, 2023. Replaces all prior versions.
|
||||||
|
|
||||||
Copyright (c) 2013-2019, Esoteric Software LLC
|
Copyright (c) 2013-2023, Esoteric Software LLC
|
||||||
|
|
||||||
Integration of the Spine Runtimes into software or otherwise creating
|
Integration of the Spine Runtimes into software or otherwise creating
|
||||||
derivative works of the Spine Runtimes is permitted under the terms and
|
derivative works of the Spine Runtimes is permitted under the terms and
|
||||||
conditions of Section 2 of the Spine Editor License Agreement:
|
conditions of Section 2 of the Spine Editor License Agreement:
|
||||||
http://esotericsoftware.com/spine-editor-license
|
http://esotericsoftware.com/spine-editor-license
|
||||||
|
|
||||||
Otherwise, it is permitted to integrate the Spine Runtimes into software
|
Otherwise, it is permitted to integrate the Spine Runtimes into software or
|
||||||
or otherwise create derivative works of the Spine Runtimes (collectively,
|
otherwise create derivative works of the Spine Runtimes (collectively,
|
||||||
"Products"), provided that each user of the Products must obtain their own
|
"Products"), provided that each user of the Products must obtain their own
|
||||||
Spine Editor license and redistribution of the Products in any form must
|
Spine Editor license and redistribution of the Products in any form must
|
||||||
include this license and copyright notice.
|
include this license and copyright notice.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS
|
THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
|
DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||||
INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY
|
BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@ -1,26 +1,26 @@
|
|||||||
# Spine Runtimes License Agreement
|
# Spine Runtimes License Agreement
|
||||||
Last updated May 1, 2019. Replaces all prior versions.
|
Last updated July 28, 2023. Replaces all prior versions.
|
||||||
|
|
||||||
Copyright (c) 2013-2019, Esoteric Software LLC
|
Copyright (c) 2013-2023, Esoteric Software LLC
|
||||||
|
|
||||||
Integration of the Spine Runtimes into software or otherwise creating
|
Integration of the Spine Runtimes into software or otherwise creating
|
||||||
derivative works of the Spine Runtimes is permitted under the terms and
|
derivative works of the Spine Runtimes is permitted under the terms and
|
||||||
conditions of Section 2 of the Spine Editor License Agreement:
|
conditions of Section 2 of the Spine Editor License Agreement:
|
||||||
http://esotericsoftware.com/spine-editor-license
|
http://esotericsoftware.com/spine-editor-license
|
||||||
|
|
||||||
Otherwise, it is permitted to integrate the Spine Runtimes into software
|
Otherwise, it is permitted to integrate the Spine Runtimes into software or
|
||||||
or otherwise create derivative works of the Spine Runtimes (collectively,
|
otherwise create derivative works of the Spine Runtimes (collectively,
|
||||||
"Products"), provided that each user of the Products must obtain their own
|
"Products"), provided that each user of the Products must obtain their own
|
||||||
Spine Editor license and redistribution of the Products in any form must
|
Spine Editor license and redistribution of the Products in any form must
|
||||||
include this license and copyright notice.
|
include this license and copyright notice.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS
|
THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
|
DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||||
INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY
|
BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@ -1,26 +1,26 @@
|
|||||||
# Spine Runtimes License Agreement
|
# Spine Runtimes License Agreement
|
||||||
Last updated May 1, 2019. Replaces all prior versions.
|
Last updated July 28, 2023. Replaces all prior versions.
|
||||||
|
|
||||||
Copyright (c) 2013-2019, Esoteric Software LLC
|
Copyright (c) 2013-2023, Esoteric Software LLC
|
||||||
|
|
||||||
Integration of the Spine Runtimes into software or otherwise creating
|
Integration of the Spine Runtimes into software or otherwise creating
|
||||||
derivative works of the Spine Runtimes is permitted under the terms and
|
derivative works of the Spine Runtimes is permitted under the terms and
|
||||||
conditions of Section 2 of the Spine Editor License Agreement:
|
conditions of Section 2 of the Spine Editor License Agreement:
|
||||||
http://esotericsoftware.com/spine-editor-license
|
http://esotericsoftware.com/spine-editor-license
|
||||||
|
|
||||||
Otherwise, it is permitted to integrate the Spine Runtimes into software
|
Otherwise, it is permitted to integrate the Spine Runtimes into software or
|
||||||
or otherwise create derivative works of the Spine Runtimes (collectively,
|
otherwise create derivative works of the Spine Runtimes (collectively,
|
||||||
"Products"), provided that each user of the Products must obtain their own
|
"Products"), provided that each user of the Products must obtain their own
|
||||||
Spine Editor license and redistribution of the Products in any form must
|
Spine Editor license and redistribution of the Products in any form must
|
||||||
include this license and copyright notice.
|
include this license and copyright notice.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY EXPRESS
|
THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
|
DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||||
INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY
|
BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@ -22,7 +22,7 @@ Unity's physics components do not support dynamically assigned vertices so they
|
|||||||
|
|
||||||
## Unity version
|
## Unity version
|
||||||
|
|
||||||
spine-unity is compatible with Unity 2017.1-2022.1.
|
spine-unity is compatible with Unity 2017.1-2023.1.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user