[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:
shiverbrock 2017-02-21 05:26:07 -05:00 committed by Mario Zechner
parent aefd9e4b01
commit 4502a432da
2 changed files with 2 additions and 1 deletions

View File

@ -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; }

View File

@ -31,6 +31,7 @@
#pragma once
#include "Components/ActorComponent.h"
#include "SpineSkeletonDataAsset.h"
#include "spine/spine.h"
#include "SpineSkeletonComponent.generated.h"