C# Класс SeinJump, OriDERandomizer

Наследование: CharacterState, ISeinReceiver
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BackflipAnimation TextureAnimationWithTransitions
BackflipJumpHeight float
CrouchJumpAnimation TextureAnimationWithTransitions
CrouchJumpHeight float
DurationSinceLastOnGroundThatWeCanStillJump float
FirstJumpHeight float
FlipJumpSoundProvider SurfaceToSoundProviderMap
JumpAnimation TextureAnimationWithTransitions[]
JumpIdleAnimation TextureAnimationWithTransitions[]
JumpIdleHeight float
JumpImpulse float
JumpParticleEffect GameObject,
JumpSoundProvider SurfaceToSoundProviderMap
SecondJumpHeight float
Sein SeinCharacter
SpinJumpSoundProvider SurfaceToSoundProviderMap
ThirdJumpHeight float
WallSlideJumpAnimation TextureAnimationWithTransitions

Открытые методы

Метод Описание
Awake ( ) : void
CalculateSpeedFromHeight ( float height ) : float
OnAnimationEnd ( ) : void
OnAnimationStart ( ) : void
OnDestroy ( ) : void
OnRestoreCheckpoint ( ) : void
PerformFirstIdleJump ( ) : void
PerformFirstRunningJump ( ) : void
PerformJump ( ) : void
PerformRunningJump ( ) : void
PerformSecondIdleJump ( ) : void
PerformSecondRunningJump ( ) : void
PerformThirdRunningJump ( ) : void
PerformTurnAroundBackFlipJump ( ) : void
ResetJumpIdleCount ( ) : void
ResetRunningJumpCount ( ) : void
Serialize ( Archive, ar ) : void
SetReferenceToSein ( SeinCharacter sein ) : void
ShouldBackflipAnimationKeepPlaying ( ) : bool
ShouldJumpIdleAnimationKeepPlaying ( ) : bool
ShouldJumpMovingAnimationKeepPlaying ( ) : bool
ShouldThirdJumpMovingAnimationKeepPlaying ( ) : bool
ShouldWallSlideJumpAnimationKeepPlaying ( ) : bool
UpdateCharacterState ( ) : void
UpdateTimeSinceFacing ( ) : void

Приватные методы

Метод Описание
CacheDelegates ( ) : void
PerformCrouchJump ( ) : void
PerformIdleJump ( ) : void
PerformThirdIldleJump ( ) : void
PerformWallSlideJump ( ) : void

Описание методов

Awake() публичный Метод

public Awake ( ) : void
Результат void

CalculateSpeedFromHeight() публичный Метод

public CalculateSpeedFromHeight ( float height ) : float
height float
Результат float

OnAnimationEnd() публичный Метод

public OnAnimationEnd ( ) : void
Результат void

OnAnimationStart() публичный Метод

public OnAnimationStart ( ) : void
Результат void

OnDestroy() публичный Метод

public OnDestroy ( ) : void
Результат void

OnRestoreCheckpoint() публичный Метод

public OnRestoreCheckpoint ( ) : void
Результат void

PerformFirstIdleJump() публичный Метод

public PerformFirstIdleJump ( ) : void
Результат void

PerformFirstRunningJump() публичный Метод

public PerformFirstRunningJump ( ) : void
Результат void

PerformJump() публичный Метод

public PerformJump ( ) : void
Результат void

PerformRunningJump() публичный Метод

public PerformRunningJump ( ) : void
Результат void

PerformSecondIdleJump() публичный Метод

public PerformSecondIdleJump ( ) : void
Результат void

PerformSecondRunningJump() публичный Метод

public PerformSecondRunningJump ( ) : void
Результат void

PerformThirdRunningJump() публичный Метод

public PerformThirdRunningJump ( ) : void
Результат void

PerformTurnAroundBackFlipJump() публичный Метод

public PerformTurnAroundBackFlipJump ( ) : void
Результат void

ResetJumpIdleCount() публичный Метод

public ResetJumpIdleCount ( ) : void
Результат void

ResetRunningJumpCount() публичный Метод

public ResetRunningJumpCount ( ) : void
Результат void

Serialize() публичный Метод

public Serialize ( Archive, ar ) : void
ar Archive,
Результат void

SetReferenceToSein() публичный Метод

public SetReferenceToSein ( SeinCharacter sein ) : void
sein SeinCharacter
Результат void

ShouldBackflipAnimationKeepPlaying() публичный Метод

public ShouldBackflipAnimationKeepPlaying ( ) : bool
Результат bool

ShouldJumpIdleAnimationKeepPlaying() публичный Метод

public ShouldJumpIdleAnimationKeepPlaying ( ) : bool
Результат bool

ShouldJumpMovingAnimationKeepPlaying() публичный Метод

public ShouldJumpMovingAnimationKeepPlaying ( ) : bool
Результат bool

ShouldThirdJumpMovingAnimationKeepPlaying() публичный Метод

public ShouldThirdJumpMovingAnimationKeepPlaying ( ) : bool
Результат bool

ShouldWallSlideJumpAnimationKeepPlaying() публичный Метод

public ShouldWallSlideJumpAnimationKeepPlaying ( ) : bool
Результат bool

UpdateCharacterState() публичный Метод

public UpdateCharacterState ( ) : void
Результат void

UpdateTimeSinceFacing() публичный Метод

public UpdateTimeSinceFacing ( ) : void
Результат void

Описание свойств

BackflipAnimation публичное свойство

public TextureAnimationWithTransitions BackflipAnimation
Результат TextureAnimationWithTransitions

BackflipJumpHeight публичное свойство

public float BackflipJumpHeight
Результат float

CrouchJumpAnimation публичное свойство

public TextureAnimationWithTransitions CrouchJumpAnimation
Результат TextureAnimationWithTransitions

CrouchJumpHeight публичное свойство

public float CrouchJumpHeight
Результат float

DurationSinceLastOnGroundThatWeCanStillJump публичное свойство

public float DurationSinceLastOnGroundThatWeCanStillJump
Результат float

FirstJumpHeight публичное свойство

public float FirstJumpHeight
Результат float

FlipJumpSoundProvider публичное свойство

public SurfaceToSoundProviderMap FlipJumpSoundProvider
Результат SurfaceToSoundProviderMap

JumpAnimation публичное свойство

public TextureAnimationWithTransitions[] JumpAnimation
Результат TextureAnimationWithTransitions[]

JumpIdleAnimation публичное свойство

public TextureAnimationWithTransitions[] JumpIdleAnimation
Результат TextureAnimationWithTransitions[]

JumpIdleHeight публичное свойство

public float JumpIdleHeight
Результат float

JumpImpulse публичное свойство

public float JumpImpulse
Результат float

JumpParticleEffect публичное свойство

public GameObject, JumpParticleEffect
Результат GameObject,

JumpSoundProvider публичное свойство

public SurfaceToSoundProviderMap JumpSoundProvider
Результат SurfaceToSoundProviderMap

SecondJumpHeight публичное свойство

public float SecondJumpHeight
Результат float

Sein публичное свойство

public SeinCharacter Sein
Результат SeinCharacter

SpinJumpSoundProvider публичное свойство

public SurfaceToSoundProviderMap SpinJumpSoundProvider
Результат SurfaceToSoundProviderMap

ThirdJumpHeight публичное свойство

public float ThirdJumpHeight
Результат float

WallSlideJumpAnimation публичное свойство

public TextureAnimationWithTransitions WallSlideJumpAnimation
Результат TextureAnimationWithTransitions