Hello i'm trying to change color of my animation's some parts. Below is my code.
foreach (Spine.Slot slot in skeleton.Slots)
{
if (slot.Attachment != null)
{
if (slot.attachment.Name.Contains("head"))
{
slot.a = Color.red.a;
slot.r = Color.red.r;
slot.g = Color.red.g;
slot.b = Color.red.b;
//slot.Bone.ScaleX *= 2.0f;
}
}
}
when i try to scale bone like the commended line it works but nothing happens about colors 🙁 . What am i missing?
Thanks for answers.