Skip to content

Commit fc2ae27

Browse files
committed
[unity] Fixed SpineUnityEventHandler sample script accessing interface at the wrong (pre-split) component.
1 parent 1ad4e94 commit fc2ae27

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎spine-unity/Assets/Spine/Samples~/Spine Examples/Scripts/Sample Components/SpineEventUnityHandler.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void Start () {
5252
skeletonComponent = GetComponent<ISkeletonComponent>();
5353
if (skeletonComponent == null) return;
5454
if (animationStateComponent == null)
55-
animationStateComponent = skeletonComponent as IAnimationStateComponent;
55+
animationStateComponent = GetComponent<IAnimationStateComponent>();
5656
if (animationStateComponent == null) return;
5757
Skeleton skeleton = skeletonComponent.Skeleton;
5858
if (skeleton == null) return;

‎spine-unity/Assets/Spine/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.esotericsoftware.spine.spine-unity",
33
"displayName": "spine-unity Runtime",
44
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
5-
"version": "4.3.114",
5+
"version": "4.3.115",
66
"unity": "2018.3",
77
"author": {
88
"name": "Esoteric Software",

0 commit comments

Comments
 (0)