C# Class PlayerMovementEric, Final_Project_Main

Inheritance: MonoBehaviour
Datei anzeigen 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_oe property

public KeyCode, attack
return KeyCode,

attackHitBox public_oe property

public GameObject attackHitBox
return GameObject

attackPosition public_oe property

public GameObject attackPosition
return GameObject

crouch public_oe property

public KeyCode, crouch
return KeyCode,

grab public_oe property

public KeyCode, grab
return KeyCode,

grabHitBox public_oe property

public GameObject grabHitBox
return GameObject

hasItem public_oe property

public bool hasItem
return bool

isCrouching public_oe property

public bool isCrouching
return bool

isGrounded public_oe property

public bool isGrounded
return bool

isJumping public_oe property

public bool isJumping
return bool

jump public_oe property

public KeyCode, jump
return KeyCode,

jumpTime public_oe property

public float jumpTime
return float

jumpVelocity public_oe property

public float jumpVelocity
return float

left public_oe property

public KeyCode, left
return KeyCode,

mouseSensitivity public_oe property

public float mouseSensitivity
return float

movementSpeed public_oe property

public float movementSpeed
return float

playerShield public_oe property

public GameObject playerShield
return GameObject

right public_oe property

public KeyCode, right
return KeyCode,

rigidBody public_oe property

public Rigidbody,UnityEngine rigidBody
return UnityEngine.Rigidbody

shield public_oe property

public KeyCode, shield
return KeyCode,

smashHitBox public_oe property

public GameObject smashHitBox
return GameObject

special public_oe property

public KeyCode, special
return KeyCode,

specialHitBox public_oe property

public GameObject specialHitBox
return GameObject

specialSmashHitBox public_oe property

public GameObject specialSmashHitBox
return GameObject

upDownRotationLimit public_oe property

public float upDownRotationLimit
return float