mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 00:58:43 +08:00
[ue4] Made compiling in VS work; defined behavior for GetTrackEntry() (#836)
* Added include so that compiling in VS works. * Actually defined behavior for GetTrackEntry()
This commit is contained in:
parent
aefd9e4b01
commit
4502a432da
@ -82,7 +82,7 @@ public:
|
||||
UTrackEntry () { }
|
||||
|
||||
void SetTrackEntry (spTrackEntry* entry);
|
||||
spTrackEntry* GetTrackEntry();
|
||||
spTrackEntry* GetTrackEntry() { return entry; }
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="Components|Spine|TrackEntry")
|
||||
int GetTrackIndex () { return entry ? entry->trackIndex : 0; }
|
||||
|
||||
@ -31,6 +31,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Components/ActorComponent.h"
|
||||
#include "SpineSkeletonDataAsset.h"
|
||||
#include "spine/spine.h"
|
||||
#include "SpineSkeletonComponent.generated.h"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user