mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
[ue4] Closes #2172, check state before returning Spine::Skeleton
This commit is contained in:
parent
867af5c134
commit
c6f8b943b1
@ -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