decoamorim

1 . It is not possible to access scripts's public variables in animation when using a spine character spawned with mecanim?

Because the variable shows up when added to another object, but doesnt show in the Spawned Spine Skeleton.

Here is when i added the script to the Spine Character


And here when the script is in a Cube


As you can see the "mecanim spine" script, which i made, have some public variables that i want to animate in animation, than blend with layers in mecanim.

2. Mecanim Layers Mask

In another post someone said it is possible, there is a mask option? What should i drag in the mask to spawn the bone tree? Because i couldnt drag any file exported from spine there.
Developer/Founder at DCF Studios
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
Kullanıcı avatarı
decoamorim
  • Mesajlar: 131

Pharan

I think you may need to ask Mecanim questions in the Unity forum (http://forum.unity3d.com/) or Unity Answers (http://answers.unity3d.com/).
Kullanıcı avatarı
Pharan
  • Mesajlar: 5366

decoamorim

Pharan thanks for your awnser,

The same script with the same declared Public Variable in an empty object, or other object that is not the instantiated Spine Mecanim Animation , shows up there.

Its doesnt show only with the spine instantiated object. I will do that, ask questions in the unity forum.
But, as mentioned, when in a Unity object it shows.
Developer/Founder at DCF Studios
http://www.studiosdcf.com/
Author of
Cruz Brothers[PS4 / STEAM] [upcoming on XboxOne] - http://www.cruzbrothersgame.com
Bunny Battle Arena[STEAM] - https://store.steampowered.com/app/872340/Bunny_Battle_Arena/
Kullanıcı avatarı
decoamorim
  • Mesajlar: 131


Dön Unity