mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-25 03:01:26 +08:00
[ue4] Closes #2172, check state before returning Spine::Skeleton
This commit is contained in:
parent
b1d5e7727d
commit
d8396435d3
@ -53,7 +53,7 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Spine)
|
||||
USpineSkeletonDataAsset *SkeletonData;
|
||||
|
||||
spine::Skeleton *GetSkeleton() { return skeleton; };
|
||||
spine::Skeleton *GetSkeleton() { CheckState(); return skeleton; };
|
||||
|
||||
UFUNCTION(BlueprintPure, Category = "Components|Spine|Skeleton")
|
||||
void GetSkins(TArray<FString> &Skins);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user