C# Class Common.PlayerEntityController

Inheritance: MonoBehaviour, Common.GameEntityController
Afficher le fichier Open project: gamemachine/gamemachine

Méthodes publiques

Свойство Type Description
activePlatform Common.Transform
antiBump float
backSpeed float
controllingBoat bool
gameEntity IGameEntity
gravity float
jumpPower float
lastPosition Common.Vector3
moveSpeed float
onBoat bool
runSpeed float
slopeLimit float
speed float
swimJumpSpeed float
swimLevel float
swimSpeed float
swimming bool
turnSpeed float
underWater bool
walkSpeed float

Méthodes publiques

Méthode Description
GetPlayerSpeed ( ) : float
IsInitialized ( ) : bool
ManualUpdate ( ) : void
MoveOnPlatform ( ) : void
OnBoat ( ) : bool
OnControllerColliderHit ( ControllerColliderHit col ) : void
PlatformPostCalc ( ) : void
ServerMove ( float y, float spd ) : void
SetNetworkFields ( Common.NetworkFields networkFields ) : void
SetPlayerSpeed ( float speed ) : void
Start ( ) : void

Private Methods

Méthode Description
SetAnimation ( AnimationName name ) : void
UpdateAnimations ( ) : void

Method Details

GetPlayerSpeed() public méthode

public GetPlayerSpeed ( ) : float
Résultat float

IsInitialized() public méthode

public IsInitialized ( ) : bool
Résultat bool

ManualUpdate() public méthode

public ManualUpdate ( ) : void
Résultat void

MoveOnPlatform() public méthode

public MoveOnPlatform ( ) : void
Résultat void

OnBoat() public méthode

public OnBoat ( ) : bool
Résultat bool

OnControllerColliderHit() public méthode

public OnControllerColliderHit ( ControllerColliderHit col ) : void
col ControllerColliderHit
Résultat void

PlatformPostCalc() public méthode

public PlatformPostCalc ( ) : void
Résultat void

ServerMove() public méthode

public ServerMove ( float y, float spd ) : void
y float
spd float
Résultat void

SetNetworkFields() public méthode

public SetNetworkFields ( Common.NetworkFields networkFields ) : void
networkFields Common.NetworkFields
Résultat void

SetPlayerSpeed() public méthode

public SetPlayerSpeed ( float speed ) : void
speed float
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

activePlatform public_oe property

public Transform,Common activePlatform
Résultat Common.Transform

antiBump public_oe property

public float antiBump
Résultat float

backSpeed public_oe property

public float backSpeed
Résultat float

controllingBoat public_oe property

public bool controllingBoat
Résultat bool

gameEntity public_oe property

public IGameEntity gameEntity
Résultat IGameEntity

gravity public_oe property

public float gravity
Résultat float

jumpPower public_oe property

public float jumpPower
Résultat float

lastPosition public_oe property

public Vector3,Common lastPosition
Résultat Common.Vector3

moveSpeed public_oe property

public float moveSpeed
Résultat float

onBoat public_oe property

public bool onBoat
Résultat bool

runSpeed public_oe property

public float runSpeed
Résultat float

slopeLimit public_oe property

public float slopeLimit
Résultat float

speed public_oe property

public float speed
Résultat float

swimJumpSpeed public_oe property

public float swimJumpSpeed
Résultat float

swimLevel public_oe property

public float swimLevel
Résultat float

swimSpeed public_oe property

public float swimSpeed
Résultat float

swimming public_oe property

public bool swimming
Résultat bool

turnSpeed public_oe property

public float turnSpeed
Résultat float

underWater public_oe property

public bool underWater
Résultat bool

walkSpeed public_oe property

public float walkSpeed
Résultat float