C# Class SkylinesMultiplayer.PlayerController

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: Fr0sZ/Skylines-Multiplayer

Public Properties

Property Type Description
AIR_Y_SLOW float
GRAVITY float
GROUND_SLOW float
HOOK_COOLDOWN float
HOOK_FORCE float
HOOK_RELEASE_MAX_DOWN_MOVEMENTUM float
HOOK_RELEASE_MAX_UP_MOVEMENTUM float
JUMP_EXTRA_HEIGHT_TIME float
JUMP_FORCE float
JUMP_INPUT_EXTRA_TIME float
RUN_SPEED int
STEP_SIZE float
TERRAIN_HEIGHT_OFFSET float
WALK_SPEED int
m_ignoreFlags int

Public Methods

Method Description
FixedUpdate ( ) : void
Jump ( ) : void
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
OnHookReleased ( ) : void
SendPlayerHookReleased ( ) : void
SendPlayerHookUsed ( Vector3 hookPosition ) : void
SendPlayerShot ( int playerId, Vector3 hitPoint, Vector3 hitDirection ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Jump() public method

public Jump ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

AIR_Y_SLOW public_oe property

public float AIR_Y_SLOW
return float

GRAVITY public_oe property

public float GRAVITY
return float

GROUND_SLOW public_oe property

public float GROUND_SLOW
return float

HOOK_COOLDOWN public_oe property

public float HOOK_COOLDOWN
return float

HOOK_FORCE public_oe property

public float HOOK_FORCE
return float

HOOK_RELEASE_MAX_DOWN_MOVEMENTUM public_oe property

public float HOOK_RELEASE_MAX_DOWN_MOVEMENTUM
return float

HOOK_RELEASE_MAX_UP_MOVEMENTUM public_oe property

public float HOOK_RELEASE_MAX_UP_MOVEMENTUM
return float

JUMP_EXTRA_HEIGHT_TIME public_oe property

public float JUMP_EXTRA_HEIGHT_TIME
return float

JUMP_FORCE public_oe property

public float JUMP_FORCE
return float

JUMP_INPUT_EXTRA_TIME public_oe property

public float JUMP_INPUT_EXTRA_TIME
return float

RUN_SPEED public_oe property

public int RUN_SPEED
return int

STEP_SIZE public_oe property

public float STEP_SIZE
return float

TERRAIN_HEIGHT_OFFSET public_oe property

public float TERRAIN_HEIGHT_OFFSET
return float

WALK_SPEED public_oe property

public int WALK_SPEED
return int

m_ignoreFlags public_oe property

public int m_ignoreFlags
return int