Summary
A
PlatformerGameKit.Characters.States.CharacterState
that plays an attack animation then returns to idle.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters .States - Interfaces
-
- IOwnedState
<CharacterState>
- IOwnedState
- Base Types
-
- StateBehaviour
- CharacterState
- Derived Types
Syntax
[PlatformerHelpUrl(typeof(AttackState))]
public abstract class AttackState : CharacterState, IOwnedState<CharacterState>
Remarks
Documentation:
Attack
Attributes
Type | Description |
---|---|
Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
Fields
Name | Constant Value | Summary |
---|---|---|
MenuPrefix | Platformer Game Kit/Characters/States/ |
The menu prefix for
UnityEngine.AddComponentMenu .Inherited from CharacterState
static
|
Properties
Name | Value | Summary |
---|---|---|
CanExitState | bool | |
CanTurn | bool | |
Character | Character |
The
Samples.PlatformerCharacter that owns this state.Inherited from CharacterState
|
Movement |
float |
Inherited from CharacterState
|
OwnerStateMachine | StateMachine |
Inherited from CharacterState
|
Methods
Name | Value | Summary |
---|---|---|
OnExitState |
void | |
OnValidate |
void |
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
Inherited from CharacterState
|
SetCharacter |
void |
Sets the
PlatformerGameKit.Characters.States.CharacterState.Character .Inherited from CharacterState
|