C# Class PlayerMovementEric, Final_Project_Main

Inheritance: MonoBehaviour
Show file Open project: framadan/Final_Project_Main

Public Properties

Property Type Description
attack KeyCode,
attackHitBox GameObject
attackPosition GameObject
crouch KeyCode,
grab KeyCode,
grabHitBox GameObject
hasItem bool
isCrouching bool
isGrounded bool
isJumping bool
jump KeyCode,
jumpTime float
jumpVelocity float
left KeyCode,
mouseSensitivity float
movementSpeed float
playerShield GameObject
right KeyCode,
rigidBody UnityEngine.Rigidbody
shield KeyCode,
smashHitBox GameObject
special KeyCode,
specialHitBox GameObject
specialSmashHitBox GameObject
upDownRotationLimit float

Public Methods

Method Description
OnCollisionExit ( Collision other ) : void
OnCollisionStay ( Collision other ) : void
PlayerController ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnCollisionExit() public method

public OnCollisionExit ( Collision other ) : void
other Collision
return void

OnCollisionStay() public method

public OnCollisionStay ( Collision other ) : void
other Collision
return void

PlayerController() public method

public PlayerController ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

attack public property

public KeyCode, attack
return KeyCode,

attackHitBox public property

public GameObject attackHitBox
return GameObject

attackPosition public property

public GameObject attackPosition
return GameObject

crouch public property

public KeyCode, crouch
return KeyCode,

grab public property

public KeyCode, grab
return KeyCode,

grabHitBox public property

public GameObject grabHitBox
return GameObject

hasItem public property

public bool hasItem
return bool

isCrouching public property

public bool isCrouching
return bool

isGrounded public property

public bool isGrounded
return bool

isJumping public property

public bool isJumping
return bool

jump public property

public KeyCode, jump
return KeyCode,

jumpTime public property

public float jumpTime
return float

jumpVelocity public property

public float jumpVelocity
return float

left public property

public KeyCode, left
return KeyCode,

mouseSensitivity public property

public float mouseSensitivity
return float

movementSpeed public property

public float movementSpeed
return float

playerShield public property

public GameObject playerShield
return GameObject

right public property

public KeyCode, right
return KeyCode,

rigidBody public property

public Rigidbody,UnityEngine rigidBody
return UnityEngine.Rigidbody

shield public property

public KeyCode, shield
return KeyCode,

smashHitBox public property

public GameObject smashHitBox
return GameObject

special public property

public KeyCode, special
return KeyCode,

specialHitBox public property

public GameObject specialHitBox
return GameObject

specialSmashHitBox public property

public GameObject specialSmashHitBox
return GameObject

upDownRotationLimit public property

public float upDownRotationLimit
return float