mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-21 01:06:43 +08:00
Merge pull request #175 from pharan/patch-7
Fixed "CompleteDelete" typo in C# event delegates
This commit is contained in:
commit
842e3c98f6
@ -47,8 +47,8 @@ namespace Spine {
|
|||||||
public delegate void EventDelegate(AnimationState state, int trackIndex, Event e);
|
public delegate void EventDelegate(AnimationState state, int trackIndex, Event e);
|
||||||
public EventDelegate Event;
|
public EventDelegate Event;
|
||||||
|
|
||||||
public delegate void CompleteDelete(AnimationState state, int trackIndex, int loopCount);
|
public delegate void CompleteDelegate(AnimationState state, int trackIndex, int loopCount);
|
||||||
public CompleteDelete Complete;
|
public CompleteDelegate Complete;
|
||||||
|
|
||||||
public AnimationState (AnimationStateData data) {
|
public AnimationState (AnimationStateData data) {
|
||||||
if (data == null) throw new ArgumentNullException("data cannot be null.");
|
if (data == null) throw new ArgumentNullException("data cannot be null.");
|
||||||
@ -265,7 +265,7 @@ namespace Spine {
|
|||||||
public AnimationState.StartEndDelegate Start;
|
public AnimationState.StartEndDelegate Start;
|
||||||
public AnimationState.StartEndDelegate End;
|
public AnimationState.StartEndDelegate End;
|
||||||
public AnimationState.EventDelegate Event;
|
public AnimationState.EventDelegate Event;
|
||||||
public AnimationState.CompleteDelete Complete;
|
public AnimationState.CompleteDelegate Complete;
|
||||||
|
|
||||||
internal void OnStart (AnimationState state, int index) {
|
internal void OnStart (AnimationState state, int index) {
|
||||||
if (Start != null) Start(state, index);
|
if (Start != null) Start(state, index);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user