HeroEditor Reference
Assets.HeroEditor.Common.CharacterScripts Namespace
Assembly: Assembly-CSharp (in Assembly-CSharp.dll)
Name | Description | |
---|---|---|
![]() |
BowShooting | Bow shooting behaviour (charge/release bow, create arrow). |
![]() |
Character | Character presentation in editor. Contains sprites, renderers, animation and so on. |
![]() |
CharacterFlip | Makes character to look at cursor side (flip by X scale). |
![]() |
FingerTrigger | Forefinger animation when shooting. |
![]() |
Firearm | Firearm manager, contains all links to child components. |
![]() |
FirearmFire | Firearm fire process. |
![]() |
FirearmReload | Firearm reload process. |
![]() |
LayerManager | Used to order sprite layers (character parts). |
![]() |
MeleeWeapon | General melee weapon behaviour. First thing you need to check is hit event. Use animation events or check user input. Second thing is to resolve impacts to other objects (enemies, environment). Use collisions or raycasts. |
![]() |
Projectile | General behaviour for projectiles: bullets, rockets and other. |
![]() |
Shell | Shell falling animation when shooting. |
![]() |
WeaponControls | Rotates arms and passes input events to child components like FirearmFire and BowShooting. |