2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items :
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer
commentId : T:Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
id : AnimationPlayer
2025-04-16 19:57:54 -04:00
parent : Player
2025-04-16 19:20:36 -04:00
children :
2025-04-16 19:57:54 -04:00
- Player.AnimationPlayer.backwards
- Player.AnimationPlayer.block
- Player.AnimationPlayer.clip
- Player.AnimationPlayer.Punch
- Player.AnimationPlayer.SetState(Player.AnimationPlayer.AnimationState)
- Player.AnimationPlayer.state
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : AnimationPlayer
nameWithType : AnimationPlayer
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
type : Class
source :
id : AnimationPlayer
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3853
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nThis class manages the player's animations, including setting animation states,\nhandling directional changes, and triggering specific animations like punching.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content: 'public class AnimationPlayer : MonoBehaviour'
content.vb : Public Class AnimationPlayer Inherits MonoBehaviour
inheritance :
- System.Object
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.state
commentId : F:Player.AnimationPlayer.state
2025-04-16 19:20:36 -04:00
id : state
2025-04-16 19:57:54 -04:00
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : state
nameWithType : AnimationPlayer.state
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.state
2025-04-16 19:20:36 -04:00
type : Field
source :
id : state
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3885
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nThe current animation state of the player.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public AnimationPlayer.AnimationState state
return :
2025-04-16 19:57:54 -04:00
type : Player.AnimationPlayer.AnimationState
2025-04-16 19:20:36 -04:00
content.vb : Public state As AnimationPlayer.AnimationState
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.backwards
commentId : F:Player.AnimationPlayer.backwards
2025-04-16 19:20:36 -04:00
id : backwards
2025-04-16 19:57:54 -04:00
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : backwards
nameWithType : AnimationPlayer.backwards
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.backwards
2025-04-16 19:20:36 -04:00
type : Field
source :
id : backwards
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3890
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nIndicates whether the player is facing backwards.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public bool backwards
return :
type : System.Boolean
content.vb : Public backwards As Boolean
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.block
commentId : F:Player.AnimationPlayer.block
2025-04-16 19:20:36 -04:00
id : block
2025-04-16 19:57:54 -04:00
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : block
nameWithType : AnimationPlayer.block
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.block
2025-04-16 19:20:36 -04:00
type : Field
source :
id : block
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3895
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nIndicates whether the player is currently blocking.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public bool block
return :
type : System.Boolean
content.vb : Public block As Boolean
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.clip
commentId : F:Player.AnimationPlayer.clip
2025-04-16 19:20:36 -04:00
id : clip
2025-04-16 19:57:54 -04:00
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : clip
nameWithType : AnimationPlayer.clip
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.clip
2025-04-16 19:20:36 -04:00
type : Field
source :
id : clip
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3900
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nThe animation clip to play when the script starts.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public AnimationClip clip
return :
type : Global.AnimationClip
content.vb : Public clip As AnimationClip
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.SetState(Player.AnimationPlayer.AnimationState)
commentId : M:Player.AnimationPlayer.SetState(Player.AnimationPlayer.AnimationState)
id : SetState(Player.AnimationPlayer.AnimationState)
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : SetState(AnimationState)
nameWithType : AnimationPlayer.SetState(AnimationPlayer.AnimationState)
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.SetState(Player.AnimationPlayer.AnimationState)
2025-04-16 19:20:36 -04:00
type : Method
source :
id : SetState
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3944
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nSets the player's animation state.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public void SetState(AnimationPlayer.AnimationState state)
parameters :
- id : state
2025-04-16 19:57:54 -04:00
type : Player.AnimationPlayer.AnimationState
2025-04-18 20:11:19 -04:00
description : The new animation state to set.
2025-04-16 19:20:36 -04:00
content.vb : Public Sub SetState(state As AnimationPlayer.AnimationState)
2025-04-16 19:57:54 -04:00
overload : Player.AnimationPlayer.SetState*
- uid : Player.AnimationPlayer.Punch
commentId : M:Player.AnimationPlayer.Punch
2025-04-16 19:20:36 -04:00
id : Punch
2025-04-16 19:57:54 -04:00
parent : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
langs :
- csharp
- vb
name : Punch()
nameWithType : AnimationPlayer.Punch()
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.Punch()
2025-04-16 19:20:36 -04:00
type : Method
source :
id : Punch
path : ''
2025-04-19 12:59:07 -04:00
startLine : 3952
2025-04-16 19:20:36 -04:00
assemblies :
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace : Player
2025-04-18 20:11:19 -04:00
summary : "\nTriggers the punch animation.\n"
example : [ ]
2025-04-16 19:20:36 -04:00
syntax :
content : public void Punch()
content.vb : Public Sub Punch()
2025-04-16 19:57:54 -04:00
overload : Player.AnimationPlayer.Punch*
2025-04-16 19:20:36 -04:00
references :
2025-04-16 19:57:54 -04:00
- uid : Player
commentId : N : Player
name : Player
nameWithType : Player
fullName : Player
2025-04-16 19:20:36 -04:00
- uid : System.Object
commentId : T:System.Object
parent : System
isExternal : true
name : object
nameWithType : object
fullName : object
nameWithType.vb : Object
fullName.vb : Object
name.vb : Object
- uid : System
commentId : N : System
isExternal : true
name : System
nameWithType : System
fullName : System
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.AnimationState
commentId : T:Player.AnimationPlayer.AnimationState
parent : Player
2025-04-16 19:20:36 -04:00
name : AnimationPlayer.AnimationState
nameWithType : AnimationPlayer.AnimationState
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.AnimationState
2025-04-16 19:20:36 -04:00
spec.csharp :
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
name : AnimationPlayer
- name : .
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.AnimationState
2025-04-16 19:20:36 -04:00
name : AnimationState
spec.vb :
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer
2025-04-16 19:20:36 -04:00
name : AnimationPlayer
- name : .
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.AnimationState
2025-04-16 19:20:36 -04:00
name : AnimationState
- uid : System.Boolean
commentId : T:System.Boolean
parent : System
isExternal : true
name : bool
nameWithType : bool
fullName : bool
nameWithType.vb : Boolean
fullName.vb : Boolean
name.vb : Boolean
- uid : Global.AnimationClip
commentId : '!:Global.AnimationClip'
isExternal : true
name : AnimationClip
nameWithType : AnimationClip
fullName : AnimationClip
2025-04-16 19:57:54 -04:00
- uid : Player.AnimationPlayer.SetState*
commentId : Overload:Player.AnimationPlayer.SetState
2025-04-16 19:20:36 -04:00
name : SetState
nameWithType : AnimationPlayer.SetState
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.SetState
- uid : Player.AnimationPlayer.Punch*
commentId : Overload:Player.AnimationPlayer.Punch
2025-04-16 19:20:36 -04:00
name : Punch
nameWithType : AnimationPlayer.Punch
2025-04-16 19:57:54 -04:00
fullName : Player.AnimationPlayer.Punch