C# Class CharacterMotor2, JuniorProject

Inheritance: MonoBehaviour
ファイルを表示 Open project: MilesMeacham/JuniorProject Class Usage Examples

Public Properties

Property Type Description
characterMovement Vector3
facingRight bool
jumpForce int
knockbackForce Vector3
maxSpeed int
movingLeft bool
movingRight bool
rb UnityEngine.Rigidbody
speed int
theAnimator Animator
velocity Vector3

Public Methods

Method Description
FixedUpdate ( ) : void
Flip ( ) : void
LeftActivation ( ) : void
OnCollisionEnter ( Collision collider ) : void
RightActivation ( ) : void
Start ( ) : void
VerticalVelocity ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

LeftActivation() public method

public LeftActivation ( ) : void
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collider ) : void
collider Collision
return void

RightActivation() public method

public RightActivation ( ) : void
return void

Start() public method

public Start ( ) : void
return void

VerticalVelocity() public method

public VerticalVelocity ( ) : void
return void

Property Details

characterMovement public_oe property

public Vector3 characterMovement
return Vector3

facingRight public_oe property

public bool facingRight
return bool

jumpForce public_oe property

public int jumpForce
return int

knockbackForce public_oe property

public Vector3 knockbackForce
return Vector3

maxSpeed public_oe property

public int maxSpeed
return int

movingLeft public_oe property

public bool movingLeft
return bool

movingRight public_oe property

public bool movingRight
return bool

rb public_oe property

public Rigidbody,UnityEngine rb
return UnityEngine.Rigidbody

speed public_oe property

public int speed
return int

theAnimator public_oe property

public Animator theAnimator
return Animator

velocity public_oe property

public Vector3 velocity
return Vector3