mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Changed SkeletonAnimation delegates to pass SkeletonRenderer instead of SkeletonAnimation Refactored how delegates/events work a bit in SkeletonAnimation by implementing ISkeletonAnimation interface.
11 lines
311 B
C#
11 lines
311 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public delegate void UpdateBonesDelegate (SkeletonRenderer skeletonRenderer);
|
|
public interface ISkeletonAnimation {
|
|
event UpdateBonesDelegate UpdateLocal;
|
|
event UpdateBonesDelegate UpdateWorld;
|
|
event UpdateBonesDelegate UpdateComplete;
|
|
|
|
void LateUpdate ();
|
|
} |