hippogamesunity / HeroEditor4DHub

10 stars 0 forks source link

RuntimeSetup.cs issue #5

Closed tokochan55 closed 4 years ago

tokochan55 commented 4 years ago

EquipHelmet doesn't work. 08 ex: EquipHelmet("VillagerRags","Basic");

hippogamesunity commented 4 years ago

Try this fix: image

tokochan55 commented 4 years ago

still doesn't work. FindSprites is not found. 2019-10-03_19h28_27

hippogamesunity commented 4 years ago

Are you using the latest asset version? can you show me EquipArmor code?

tokochan55 commented 4 years ago

yes. im using latest asset version. i just reimport asset now but still doesn't work. 2019-10-03_19h46_13

hippogamesunity commented 4 years ago

I will update the plugin soon. As a workaround try: var sprites = "THE SAME CODE AS FOR ARMOR"; var sprite = sprites.Single(i => i.name == "FrontHead");

Character.EquipHelmet(sprite);

tokochan55 commented 4 years ago

it worked! thank you so much. you are very kindness!

hippogamesunity commented 4 years ago

Great! Hope to see your feedback on the Asset Store!

hippogamesunity commented 4 years ago

1.5 is on review