hippogamesunity / HeroEditorHub

Support for Hero Editor assets
18 stars 0 forks source link

compile errors #170

Open zhangkari opened 2 years ago

zhangkari commented 2 years ago

After import assets, compilation errors occurred:

Assets/HeroEditor/Common/EditorScripts/CharacterReferencesResolver.cs(27,41): error CS0029: Cannot implicitly convert type 'Character' to 'HeroEditor.Common.CharacterBase'

Assets/HeroEditor/Common/ExampleScripts/TestRoom.cs(26,27): error CS1061: 'Character' does not contain a definition for 'FromJson' and no accessible extension method 'FromJson' accepting a first argument of type 'Character' could be found (are you missing a using directive or an assembly reference?)

Assets/HeroEditor/Common/ExampleScripts/AttackingExample.cs(27,28): error CS1061: 'Character' does not contain a definition for 'WeaponType' and no accessible extension method 'WeaponType' accepting a first argument of type 'Character' could be found (are you missing a using directive or an assembly reference?)

....

Assets/HeroEditor/Common/EditorScripts/CharacterEditor.cs(430,9): error CS1503: Argument 1: cannot convert from 'Character' to 'string'

Assets/HeroEditor/Common/EditorScripts/CharacterEditor.cs(431,79): error CS1503: Argument 1: cannot convert from 'Character' to 'Assets.HeroEditor.Common.CharacterScripts.Character'

zhangkari commented 2 years ago

Unity 2020.3.25f1c1

hippogamesunity commented 2 years ago

Hi, focus on other errors that may block loading the asset's DLLs. Only they will be loaded, the mention messages will go.

вт, 29 мар. 2022 г., 09:31 ZhangKari @.***>:

Unity 2020.3.25f1c1

— Reply to this email directly, view it on GitHub https://github.com/hippogamesunity/HeroEditorHub/issues/170#issuecomment-1081456355, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX2VHH546DFN3AY7SDTPGTVCKPVBANCNFSM5R5KOA6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>