hippogamesunity / HeroEditorHub

Support for Hero Editor assets
18 stars 0 forks source link

Make possible to Save a "CharacterBase" without example scripts #36

Closed DerLoki92 closed 6 years ago

DerLoki92 commented 6 years ago

The prefab character u create with saving from the editor is an good example do learn everything about ur examples, but i would be easier to reuse and extend the created character in an own propose if u make it possible to create the character prefab just with the basic's for an Character like CharacterBase and LayerManager script on it.

hippogamesunity commented 6 years ago

Hi! What example scripts do you mean? Anyway, you can remove them from Dummy.prefab. In this case Editor may work incorrectly.

DerLoki92 commented 6 years ago

I do mean Firearms, BowShooting and Weapon that ships with the Character Script, aswell as WeaponControl, CharacterFlip and all that things. For example removing Firearms from Character (cause i dont want it there) makes the Character prefab crash on Initialize, cause its accessing to HoldType.

the Character script has comments on it thats says "script for character in editor" - thats fine u can use this script in editor as it is ur own CharacterBase extended implementation.

But i think for enduser i can be better if u have the option to save an "cleared" prefab without any "example" behavior. i think that contains CharacterBase with renderer Mappings, aswell as LayerManager and the Animations.