SideAttackState Class

Summary

An PlatformerGameKit.Characters.States.AttackState with separate animations for left and right.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.Characters.States
Interfaces
Base Types
graph BT Type-->Base0["AttackState"] click Base0 "/platformer/api/PlatformerGameKit.Characters.States/AttackState" Base0-->Base1["CharacterState"] click Base1 "/platformer/api/PlatformerGameKit.Characters.States/CharacterState" Base1-->Base2["StateBehaviour"] Type-.->Interface0["IOwnedState<CharacterState>"] Type["SideAttackState"] class Type type-node

Syntax

[AddComponentMenu(MenuPrefix + "Side Attack State")]
[HelpURL(APIDocumentation + nameof(SideAttackState))]
public sealed class SideAttackState : AttackState, IOwnedState<CharacterState>

Remarks

Documentation: Side Attack

Attributes

Type Description
AddComponentMenu
HelpURLAttribute

Fields

Name Constant Value Summary
APIDocumentation https://kybernetik.com.au/platformer/api/PlatformerGameKit.Characters.States/
The URL of the website where the PlatformerGameKit.Characters.States API documentation is hosted.
Inherited from CharacterState
static
MenuPrefix Platformer Game Kit/Characters/States/
The menu prefix for UnityEngine.AddComponentMenu.
Inherited from CharacterState
static

Properties

Name Value Summary
CanExitState bool
Inherited from AttackState
CanTurn bool
Inherited from AttackState
Character Character
The Examples.PlatformerCharacter that owns this state.
Inherited from CharacterState
MovementSpeedMultiplier float
Inherited from CharacterState
OwnerStateMachine StateMachine<CharacterState>
Inherited from CharacterState

Methods

Name Value Summary
OnEnterState() void
OnExitState() void
Inherited from AttackState
OnValidate() void
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
Inherited from CharacterState
SetCharacter(Character) void
Sets the PlatformerGameKit.Characters.States.CharacterState.Character.
Inherited from CharacterState