|
@@ -89,6 +89,9 @@ public:
|
|
UFUNCTION(BlueprintCallable, Category = "Components|Spine|Skeleton")
|
|
UFUNCTION(BlueprintCallable, Category = "Components|Spine|Skeleton")
|
|
bool SetSkin(const FString SkinName);
|
|
bool SetSkin(const FString SkinName);
|
|
|
|
|
|
|
|
+ UFUNCTION(BlueprintCallable, Category = "Components|Spine|Skeleton")
|
|
|
|
+ bool SetSkins(UPARAM(ref) TArray<FString> &SkinNames);
|
|
|
|
+
|
|
UFUNCTION(BlueprintCallable, Category = "Components|Spine|Skeleton")
|
|
UFUNCTION(BlueprintCallable, Category = "Components|Spine|Skeleton")
|
|
bool HasSkin(const FString SkinName);
|
|
bool HasSkin(const FString SkinName);
|
|
|
|
|
|
@@ -222,6 +225,7 @@ protected:
|
|
USpineAtlasAsset* lastAtlas = nullptr;
|
|
USpineAtlasAsset* lastAtlas = nullptr;
|
|
spine::Atlas* lastSpineAtlas = nullptr;
|
|
spine::Atlas* lastSpineAtlas = nullptr;
|
|
USpineSkeletonDataAsset* lastData = nullptr;
|
|
USpineSkeletonDataAsset* lastData = nullptr;
|
|
|
|
+ spine::Skin* customSkin = nullptr;
|
|
|
|
|
|
// Need to hold on to the dynamic instances, or the GC will kill us while updating them
|
|
// Need to hold on to the dynamic instances, or the GC will kill us while updating them
|
|
UPROPERTY()
|
|
UPROPERTY()
|