- Modifié
Change attachment through code in unity? (false)
Good evening, I apologize for my English, I write through a translator!
I need to disable the image I don't need through the script
img: https://prnt.sc/wedgpa
How to enable I know how:
skeletonAnimation.skeleton.SetAttachment("tank_1/wheel_tank2", "tank_2/whell_2.1");
and how to disable no!
Please tell me how I can disable the image I don't need through the script ?
Skeleton setAttachment
If you want to remove the attachment, you put null instead of the attachment name
skeletonAnimation.skeleton.SetAttachment("tank_1/wheel_tank2", null);
Jamez0r a écrithttp://esotericsoftware.com/spine-api-reference#Skeleton-setAttachment
If you want to remove the attachment, you put null instead of the attachment name
skeletonAnimation.skeleton.SetAttachment("tank_1/wheel_tank2", null);
Thank you very much my friend!
Was able to delete the image
:yes: :handshake: