artistgamedev

Hello,

Is it possible to change a slot's color through Blueprints? I'm hoping to make a bunch of NPCs and change the color of their clothes by changing the color of a groups of slots. Unable to find it if it is in there.

(I totally accept that there is a good chance it is staring me in the face and I'm dumb.)

Any help is greatly appreciated.

-Ben
artistgamedev
  • Сообщения: 8

Mario

Super sorry for the late reply! There's currently no way to change the slot color via blueprints. I've added an issue here: https://github.com/EsotericSoftware/spine-runtimes/issues/1904
Аватара пользователя
Mario

Mario
  • Сообщения: 2726

artistgamedev

Thanks! I appreciate it.
artistgamedev
  • Сообщения: 8

Mario

I've added a blueprint callable function to USpineSkeletonComponent called SetSlotColor. Simply pass it the slot name and the color you want. This will only affect the color of the slot, not the slot data.
Аватара пользователя
Mario

Mario
  • Сообщения: 2726


Вернуться в Runtimes